Package: ipvsadm Version: 1:1.24-1 Severity: minor Tags: patch User: initscripts-ng-de...@lists.alioth.debian.org Usertags: incorrect-runlevels
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. This was also discovered by piuparts, see its log <URL: http://piuparts.debian.org/sid/pass/ipvsadm_1:1.25.clean-1.log > which report the following: update-rc.d: warning: ipvsadm start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (2 3 5) <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 for new installations. For existing installations, more code is needed in the postinst. I also recommend depending on $local_fs or $remote_fs if it need files in /usr/. --- ipvsadm-1.25.clean/debian/ipvsadm.init 2010-05-23 23:08:43.000000000 +0200 +++ ipvsadm-1.25.clean-pere/debian/ipvsadm.init 2010-05-23 23:11:04.000000000 +0200 @@ -4,9 +4,9 @@ # ### BEGIN INIT INFO # Provides: ipvsadm -# Required-Start: $network -# Required-Stop: $network -# Default-Start: 2 3 5 +# Required-Start: $local_fs $network +# Required-Stop: $local_fs $network +# Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Description: Starts ipvsadm daemon # short-description: ipvsadm daemon 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