Package:  bootchart
Version:  0.10~svn407-3.1
Severity: minor
Tags:     patch
User:     initscripts-ng-de...@lists.alioth.debian.org
Usertags: incorrect-dependency

With dependency based boot sequencing, I discovered what I believe is
a bug in the init.d script.  Insserv will in the future start
complaining about indirect dependencies on $all in init.d scripts
(which do not work), and bootchart is a package with such dependency.
The boot ordering is not affected, but the warning is annoying.  If
bootchart really need to start after rmnologin, then rmnologin can no
longer start last in the boot sequence.

<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, a warning will be
issued every time update-rc.d is called.

diff -ur bootchart-0.10~svn407/debian/bootchart.init 
bootchart-0.10~svn407-pere/debian/bootchart.init
--- bootchart-0.10~svn407/debian/bootchart.init 2009-08-23 23:06:36.000000000 
+0200
+++ bootchart-0.10~svn407-pere/debian/bootchart.init    2009-08-23 
23:06:24.000000000 +0200
@@ -1,7 +1,7 @@
 #! /bin/sh
 ### BEGIN INIT INFO
 # Provides:          bootchart
-# Required-Start:    $remote_fs $all rmnologin
+# Required-Start:    $remote_fs $all
 # Required-Stop:
 # Default-Start:     1 2 3 4 5
 # Default-Stop:

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