Package:  aumix
Version:  2.8-17
Severity: important
Tags:     patch
User:     [email protected]
Usertags: incorrect-runlevels incorrect-dependency

With dependency based boot sequencing, I discovered what I believe is
a bug in the init.d script.  The list of runlevels in the init.d
header do not match the arguments used by update-rc.d.  Also, the
script would normally start after the syslog service was running, but
do not depend on $syslog.  If it should not, please drop this
dependency.  In addition, the $local_fs dependency is redundant,
because $remote_fs implies $local_fs.

<URL: 
http://refspecs.freestandards.org/LSB_2.1.0/LSB-generic/LSB-generic/initscrcomconv.html
 >
documents the LSB header format.  Some debian notes are available from
<URL: http://wiki.debian.org/LSBInitScripts >.

This patch should solve the issue.  Without it, the init.d might start
to early in the boot sequence, and will start incorrectly from rcS.d
and rc1.d/.

I am sorry for not discovering this earlier, and also for giving you
the wrong patch in 2005.  I have learned a lot since that time. :)

diff -ur aumix-2.8/debian/aumix-common.aumix.init 
aumix-2.8-pere/debian/aumix-common.aumix.init
--- aumix-2.8/debian/aumix-common.aumix.init    2009-08-16 20:48:11.000000000 
+0200
+++ aumix-2.8-pere/debian/aumix-common.aumix.init       2009-08-16 
20:47:58.000000000 +0200
@@ -7,12 +7,12 @@

 ### BEGIN INIT INFO
 # Provides:          aumix
-# Required-Start:    $local_fs $remote_fs
-# Required-Stop:     $local_fs $remote_fs
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
 # Should-Start:      udev devfsd
 # Should-Stop:
-# Default-Start:     S 1 2 3 4 5
-# Default-Stop:      0 6
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
 # Short-Description: Restore mixer settings from saved values.
 ### END INIT INFO


Happy hacking,
--
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to