[Pkg-sysvinit-devel] Bug#584311: alsa-utils: postinst and init script disagree about stop runlevels

Petter Reinholdtsen pere at hungry.com
Thu Jun 3 12:30:27 UTC 2010


reassign 584311 alsa-utils
found 584311 1.0.23-1
thanks

The 'defaults' command line argument to update-rc.d is the equivalent
of

   start 20 2 3 4 5 . stop 20 0 1 6 .

It is not implicitly the values in the init.d script header.  So your
command line test do not test what you expect it to test. :)

The problem reported is that the arguments used when update-rc.d is
called in the postinst (ie 0 6) do not match the init.d script header
(0 1 6).  I assume one of them are correct, and the other should be
adjusted to match it.  To also adjust it on upgrades, the old symlinks
need to be removed in the postinst before a new update-rc.d call
insert the correct symlinks. :)

Btw, I notice alsa-utils start from rcS.d/.  Is it really required to
run it before single user mode is entered?  If not, please move it to
start in rc2-5 instead.  It will get us one step closer to a useful
single user mode in Debian, and improve boot speed for parallel
booting (increases concurrency and reduce the time spent in rcS.d/. :)

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-sysvinit-devel mailing list