OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Seth Arnold (sarnoldwillamette.edu)
Date: Thu Feb 01 2001 - 15:50:39 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    * seanc <seancpangea.ca> [010201 07:47]:
    > I'm having a b#$%h of a time getting ftpd to live under supervise (djb
    > daemon tools). It seems to just start it self over and over and over
    > though when i run it from the command line on a different port (like 999)
    > I can at least connect to it...

    Sean, if I am not mistaken, supervise opens a pipe and gives that pipe's
    filedescriptor to processes before exec'ing the new program.

    Many daemons are programmed to walk the list of available file
    descriptors and close them --- based on a wise suggestion in Steven's
    Advanced Programming in the Unix Environment.

    If ftpd does this, as I fully expect it does, supervise will think ftpd
    dies as soon as ftpd closes the filedescriptor with the pipe.

    -- 
    ``Oh Lord; Ooh you are so big; So absolutely huge; Gosh we're all
    really impressed down here, I can tell you.''