Package: lldpd Version: 0.1-1 Severity: important Tags: patch User: [email protected] 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 is the skeleton value, not the name of the script. Also, the service log to syslog, but do not depend on $syslog. <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 if another broken script providing skeleton already is installed, and start to early in the boot if it is able to install. diff -ur lldpd-0.4.0/debian/lldpd.init.d lldpd-0.4.0-pere/debian/lldpd.init.d --- lldpd-0.4.0/debian/lldpd.init.d 2009-08-18 09:42:00.000000000 +0200 +++ lldpd-0.4.0-pere/debian/lldpd.init.d 2009-08-18 09:42:38.000000000 +0200 @@ -1,8 +1,8 @@ #! /bin/sh ### BEGIN INIT INFO -# Provides: skeleton -# Required-Start: $remote_fs $network -# Required-Stop: $network $remote_fs +# Provides: lldpd +# Required-Start: $remote_fs $network $syslog +# Required-Stop: $network $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: LLDP daemon Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

