#52 Fix for file descriptor leak

closed
nobody
None
5
2006-01-04
2005-11-07
No

When Webmin is started via /etc/webmin/start, a file
descriptor for the current terminal is retained. This
makes it impossible to install the Webmin Solaris
package via a script (for example, via Pythons
subprocess module). The fix is simple: just close the
temporary open file.

The problem has been verified on both Linux and
Solaris. It can be verified by running "lsof | grep
miniserv":

miniserv. 13284 root 3u CHR 136,27
29 /dev/pts/27

/dev/pts/27 is the tty that executed /etc/webmin/start.

Discussion

  • Peter Åstrand

    Peter Åstrand - 2005-11-07

    Patch against miniserv.pl version 1.240

     
  • Jamie Cameron

    Jamie Cameron - 2006-01-04
    • status: open --> closed
     
  • Jamie Cameron

    Jamie Cameron - 2006-01-04

    Logged In: YES
    user_id=129364

    Thanks for the patch .. this will go into the next release
    of Webmin.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks