so-called-hang-on-exit

Frank Cusack fcusack at fcusack.com
Tue Aug 6 14:52:53 EST 2002


On Tue, Aug 06, 2002 at 11:33:36AM +1000, Carl Brewer wrote:
> My scripts mostly have to do ugly things like this :
> 
> /etc/rc.d/init.d/SNPd start < /dev/null > /dev/null 2>&1
> 
> So I can restart a badly behaved (because it writes to stdout
> and stderr when it starts, and if it loses those connections it
> just carries on anyway - how -evil-) daemon or two.

Personally, I like the reminder that xyz program sucks.  How can you
trust software that doesn't even know to close fd's.

Unfortunately, sometimes you have to use such software.  That's why
the option is being discussed.

Please, stop the arguing about the option!  One of the main guys has
posted it, asking shouldn't it be in 3.5.

Even if it doesn't make it into 3.5 (I expect it will, it's an *option*;
the reason it hasn't is previous solutions have been lacking) you can
just patch the server yourself.  There are several versions of the patch
out there.  One more will be posted by myself later tonight.

/fc



More information about the openssh-unix-dev mailing list