Package: incron Version: 0.5.5-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 incron-0.5.9/debian/init.d incron-0.5.9-pere/debian/init.d --- incron-0.5.9/debian/init.d 2009-08-16 21:15:25.000000000 +0200 +++ incron-0.5.9-pere/debian/init.d 2009-08-16 21:16:01.000000000 +0200 @@ -5,12 +5,10 @@ ### BEGIN INIT INFO # Provides: incron -# Required-Start: $local_fs $syslog -# Required-Stop: $local_fs $syslog -# Should-Start: -# Should-Stop: -# Default-Start: S 2 3 4 5 -# Default-Stop: 0 6 +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 1 # Short-Description: File system events scheduler ### 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