[Roger Leigh]
> One thing I'm not entirely clear on is how $all interacts with
> runlevels.  Is there a $all at the end of every runlevel, or is
> this restricted to rcS?

$all do not work the way you think. :)

I'm told by the insserv author that all init.d scripts are sorted into a
global dependency based ordering across all runlevels.  This is used to
decide the order number for each script.  When this is done, all scripts
depending on $all is assigned the highest order number plus one, to
ensure they all end up at the end of the boot sequence.

Because of this, I recommend to avoid $all if at all possible.  It do
not work the way most people (myself included) expect, and can lead to
incorrect boot ordering if a script depend on a script which in turn
depend on $all.

-- 
Happy hacking
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to