Package:  blktrace
Version:  0.99.3+git-20080213182518-1
Severity: minor
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.

<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 will have
incorrect start symlinks in runlevels 1 to 5.  The effect is harmless,
as everything started from rcS.d/ is not started again when switching
to runlevels 1-5.

diff -ur blktrace-1.0.1/debian/blktrace.mountdebugfs.init 
blktrace-1.0.1-pere/debian/blktrace.mountdebugfs.init
--- blktrace-1.0.1/debian/blktrace.mountdebugfs.init    2009-08-16 
21:20:33.000000000 +0200
+++ blktrace-1.0.1-pere/debian/blktrace.mountdebugfs.init       2009-08-16 
21:22:03.000000000 +0200
@@ -10,7 +10,7 @@
 # Required-Stop:     $local_fs
 # Should-Start:
 # Should-Stop:
-# Default-Start:     S 1 2 3 4 5
+# Default-Start:     S
 # Default-Stop:      0 6
 # Short-Description: Mount debugfs on /sys/kernel/debug
 ### 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