[racktables-users] Re: mktemp question

  • From: Denis Ovsienko <infrastation@xxxxxxxxx>
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Thu, 10 Jun 2010 21:57:31 +0400


10.06.2010, 21:23, "Rafael Ganascim" <rganascim@xxxxxxxxx>:
> Hi list,
>
> I'm testing RackTables 0.18.1, the switchvlans feature. When I run the
> 'Live VLANs', the main script returns:

I suggest to look at "802.1Q", which is intended to obsolete old "Live VLANs".

> subcommand failed with status: ERR!could not create portinfo tmpfile (7)
>
> I was analysing the source file, and the mktemp command attempts to:
> mktemp /tmp/racktables.XXXX
>
> But the mktemp man page says:
> "The template may be any filename with six (6) `Xs' appended
> to it, for example /tmp/tfile.XXXXXX."
>
> I changed the from XXXX to XXXXXX, and script works fine.
>
> I'm using Slackware 13.0, mktemp version debianutils-2.7.

Thank you, your fix has been committed, it will be available in the next 
(0.18.3) release.

--
    Denis Ovsienko

Other related posts: