Package: quota Version: 3.13-11 Severity: important Tags: patch User: [email protected] 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, it have redundant dependency on both $local_fs and $remote_fs. $remote_fs implies $local_fs. I suspect the original setup for this service will fail if runlevel 1 is used (daemon killed by sendsigs, but not started when switching to other runlevel). But that is a different problem from this report, which is only about the inconsistency between the init.d header and the update-rc.d call. <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. diff -ur quota-3.17/debian/quotarpc quota-3.17-pere/debian/quotarpc --- quota-3.17/debian/quotarpc 2009-08-16 21:49:21.000000000 +0200 +++ quota-3.17-pere/debian/quotarpc 2009-08-16 21:49:05.000000000 +0200 @@ -3,10 +3,10 @@ ### BEGIN INIT INFO # Provides: quotarpc # Short-Description: Starts rpc process for remote quota handling -# Required-Start: $local_fs $remote_fs $portmap quota -# Required-Stop: $local_fs $remote_fs $portmap quota -# Default-Start: S 2 3 4 5 -# Default-Stop: 0 1 6 +# Required-Start: $remote_fs $portmap quota +# Required-Stop: $remote_fs $portmap quota +# Default-Start: S +# Default-Stop: 0 6 ### END INIT INFO PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

