Package: cherokee Version: 0.5.6-1 Severity: important Tags: patch User: initscripts-ng-de...@lists.alioth.debian.org 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 service uses syslog but do not depend on $syslog. In addition, the script need files in /usr/, and thus need to depend on $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 might start to early in the boot sequence, and will start incorrectly from rcS.d/. diff -ur cherokee-0.99.22/debian/cherokee.init cherokee-0.99.22-pere/debian/cherokee.init --- cherokee-0.99.22/debian/cherokee.init 2009-08-16 20:54:42.000000000 +0200 +++ cherokee-0.99.22-pere/debian/cherokee.init 2009-08-16 20:55:35.000000000 +0200 @@ -4,11 +4,11 @@ ### BEGIN INIT INFO # Provides: cherokee -# Required-Start: $network -# Required-Stop: $network +# Required-Start: $remote_fs $network $syslog +# Required-Stop: $remote_fs $network $syslog # Should-Start: $named # Should-Stop: $named -# Default-Start: S 2 3 4 5 +# Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start the Cherokee Web server # Description: Start the Cherokee Web server 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