Package: conntrackd Version: 1:0.9.12-1 Severity: important 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/conntrackd script. The server started uses syslog, and should start after the syslog facility is available. For this it need to depend on $syslog. Also, it should stop in runlevel 1, and should start in runlevel 4, and thus need to list these in the default-* headers. Also, it need /usr/ to be mounted, and thus need to depend on $remote_fs (which can be done instead of depending on $network). <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 script is started too early and stopped to late, and not inserted correctly into the diff -ur conntrack-0.9.12/debian/conntrackd.init conntrack-0.9.12-fixed/debian/conntrackd.init --- conntrack-0.9.12/debian/conntrackd.init 2009-08-11 16:35:30.000000000 +0200 +++ conntrack-0.9.12-fixed/debian/conntrackd.init 2009-08-11 16:35:56.996550000 +0200 @@ -6,10 +6,10 @@ # ### BEGIN INIT INFO # Provides: conntrackd -# Required-Start: $network -# Required-Stop: $network -# Default-Start: 2 3 5 -# Default-Stop: 0 6 +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 # Description: Starts conntrackd # short-description: Starts conntrackd ### END INIT INFO 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