[racktables-users] mktemp question

  • From: Rafael Ganascim <rganascim@xxxxxxxxx>
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Thu, 10 Jun 2010 14:23:02 -0300

Hi list,


I'm testing RackTables 0.18.1, the switchvlans feature. When I run the
'Live VLANs', the main script returns:

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.


Att,

Rafael

Other related posts: