Package: cfengine2 Version: 2.1.18-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 slight bug in the init.d script. The dependencies are not correct. The daemon seem to log to syslog, and thus should depend on $syslog. This will make cfengine2 start before the syslog implementation, and the first syslog messages logged might be lost. Also, the dependency on $local_fs is redundant with the dependency on $remote_fs, as $local_fs is a dependency of the $remote_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 will start to early in the boot sequence. diff -ur cfengine2-2.2.10/debian/init.d cfengine2-2.2.10-pere/debian/init.d --- cfengine2-2.2.10/debian/init.d 2009-08-14 18:53:02.000000000 +0200 +++ cfengine2-2.2.10-pere/debian/init.d 2009-08-14 18:56:21.000000000 +0200 @@ -2,8 +2,8 @@ # ### BEGIN INIT INFO # Provides: cfengine2 -# Required-Start: $local_fs $remote_fs $network $time -# Required-Stop: $local_fs $remote_fs $network +# Required-Start: $remote_fs $network $time $syslog +# Required-Stop: $remote_fs $network $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: GNU configuration engine 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