[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Starting services in runlevels 0 and 6



On Thu, Oct 12, 2006 at 07:34:19PM -0700, Jurij Smakov wrote:
> Greetings,
> 
> I've accidentally noticed that there are a few services which are 
> *started* when entering runlevels 0 and 6 (halt and reboot, 
> respectively). For example, on my mostly up-to-date sid system I have:
> 
> /etc/rc0.d/S30urandom
> /etc/rc0.d/S35networking
> /etc/rc0.d/S36ifupdown
> /etc/rc0.d/S37sendsigs (start action for this one is a no-op)
> /etc/rc0.d/S48cryptdisks 
> /etc/rc0.d/S59cryptdisks-early
> 
> and similar stuff in /etc/rc6.d. I cannot find a rational explanation 
> for starting services right before shutdown. Is it intentional, or are 
> those just bugs?

It was pointed out to me, that even the scripts starting with S are 
called with argument 'stop' for runlevels 0 and 6 by /etc/init.d/rc. 
However, the reason why it is implemented that way is still not clear.

Best regards,
-- 
Jurij Smakov                                           jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC



Reply to: