Package: netscript-2.4 Version: 5.1.5 Severity: important Tags: patch User: initscripts-ng-de...@lists.alioth.debian.org Usertags: incorrect-provides incorrect-dependency
With dependency based boot sequencing, I discovered what I believe is a bug in the init.d script. The provides should be unique and preferably the name of the script. The current one (daemon) conflict with other scripts (the networking script to be exact). The dependencies make sure the script is started after ifupdown and before networking, which as far as I can see should match its original position in the boot sequence. <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 script will fail to install because another script providing the same service already is installed, and the script might be started to early in the boot sequence. diff -ur netscript-2.4-5.1.7-pere/debian/init netscript-2.4-5.1.7/debian/init --- netscript-2.4-5.1.7-pere/debian/init 2008-12-30 01:40:42.000000000 +0100 +++ netscript-2.4-5.1.7/debian/init 2009-08-18 17:27:40.000000000 +0200 @@ -1,8 +1,9 @@ #! /bin/sh -e ### BEGIN INIT INFO -# Provides: networking -# Required-Start: mountkernfs $local_fs +# Provides: netscript +# Required-Start: mountkernfs $local_fs ifupdown # Required-Stop: $local_fs +# X-Start-Before: networking # Default-Start: S # Default-Stop: 0 6 # Short-Description: Raise network interfaces, and setup iptables. 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