[Bug 56] New: Needless special handling of runlevels 0/6

Gerard Beekmans gerard at linuxfromscratch.org
Fri May 25 12:28:21 PDT 2001


> With the publishing /etc/init.d/rc, script links in /etc/rc[06].d are always 
> called with the "stop" argument, regardless of their name prefixes (K/S).  This 
> runs counter to general SysV-init style, and no other SysV-init implementation 
> on any Unix-like OS makes this exception.
> 
> Users and developers therefore come to expect this behavior, so calling an S-
> script in rc[06].d with "stop" can be confusing at best, and potentially 
> disastrous at worst, depending on the script code.
> 
> Unless there's a good reason for making this exception, it should be removed.

There is a (what i like to think very) good reason yes. I will write it down 
in detail when I get home later today.

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-





More information about the lfs-book mailing list