[Pkg-sysvinit-devel] Bug#521562: please parse LSB headers

Petter Reinholdtsen pere at hungry.com
Thu Jan 27 19:41:01 UTC 2011


[Joey Hess]
> If the LSB Default-Start and Default-Stop headers can be trusted,
> why does "update-rc.d defaults" not already parse and use those in
> legacy mode?

Mostly because legacy mode and the LSB parsing mode handle runlevels 0
and 6 differently.  In legacy mode some scripts have S* symlinks in
those runlevels while others have K* symlinks, and in LSB parsing mode
all scripts have (should have) K* symlinks.  The S* symlinks are also
called with the 'stop' argument, so they only appear to be start
symlinks, but that strange setup was inherited from a long time ago.

It is not really possible to derive that information from the LSB
needed to mimic the runlevel settings used in legacy mode.

Happy hacking,
-- 
Petter Reinholdtsen



More information about the Pkg-sysvinit-devel mailing list