Subject: Re: CVS commit: basesrc
To: None <email@example.com>
From: maximum entropy <firstname.lastname@example.org>
Date: 05/16/2001 18:58:17
>From: email@example.com (Greg A. Woods)
>Date: Wed, 16 May 2001 17:45:44 -0400 (EDT)
>[ On Wednesday, May 16, 2001 at 17:28:11 (-0400), Thor Lancelot Simon wrote: ]
>> Subject: Re: CVS commit: basesrc
>> Yeah, unless, let's say, the shutdown script for sshd kills your login
>> session before the shutdown script for oracle fails to stop the database
>> and hangs your system forever.
>Why do you have a shudown script for sshd? It's not that way by default
>and it should not be!
I suspect that a lot of people are assuming that all scripts in
/etc/rc.d are called to stop daemons gracefully at shutdown time.
Most of those people will probably be satisfied if they would read
/etc/rc.shutdown and see that it's just not done that way. Only those
scripts having "# KEYWORD: shutdown" are run at shutdown time. By
default, that means cron, inetd, and xdm.
And if even that much makes you nervous...
echo 'do_rcshutdown=NO' >> /etc/rc.conf
entropy -- it's not just a good idea, it's the second law.