Package:  pdnsd
Version:  1.2.5par-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 script uses files in /usr/ and should
depend on $remote_fs, not $local_fs.  Also, the $networking virtual
facility do not exist.  I suspect you wanted the $network facility
instead.

<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.  Because the script already depend
on $syslog, this change will not affect the boot ordering, but only
make the stated dependencies make more sense.  Because of this, I set
severity to minor.

diff -ur pdnsd-1.2.7-par/debian/init.d pdnsd-1.2.7-par-pere/debian/init.d
--- pdnsd-1.2.7-par/debian/init.d       2009-08-19 09:29:02.000000000 +0200
+++ pdnsd-1.2.7-par-pere/debian/init.d  2009-08-19 09:29:36.000000000 +0200
@@ -1,8 +1,8 @@
 #!/bin/sh
 ### BEGIN INIT INFO
 # Provides:          pdnsd
-# Required-Start:    $syslog $local_fs $networking
-# Required-Stop:     $syslog $local_fs $networking
+# Required-Start:    $remote_fs $network $syslog
+# Required-Stop:     $remote_fs $network $syslog
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Start pdnsd

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

Reply via email to