Package: ffproxy Version: 1.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 script need files in /usr/, and thus need to depend on $remote_fs. Also, the stop action only kills the process, and can leave that to sendsigs during halt and reboot to speed up the shutdown. <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/ and fail to stop in runlevel 1. diff -ur ffproxy-1.6/debian/init.d ffproxy-1.6-pere/debian/init.d --- ffproxy-1.6/debian/init.d 2009-08-16 21:07:30.000000000 +0200 +++ ffproxy-1.6-pere/debian/init.d 2009-08-16 21:07:21.000000000 +0200 @@ -5,12 +5,12 @@ ### BEGIN INIT INFO # Provides: ffproxy -# Required-Start: $local_fs $network $syslog -# Required-Stop: $local_fs $network $syslog +# 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-Stop: 0 6 +# Default-Start: 2 3 4 5 +# Default-Stop: 1 # Short-Description: A light and customizable http(s) proxy server ### 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