Package:  bfilter
Version:  1.0.6-1
Severity: important
Tags:     patch
User:     initscripts-ng-de...@lists.alioth.debian.org
Usertags: incorrect-dependency

With dependency based boot sequencing, I discovered what I believe is
a bug in the init.d scripts of this package.  The script uses files in
/usr/, and should depend on $remote_fs.  The script used to start
after syslog, and should probably depend on $syslog.  Further, with a
hard dependency on networking instead of $network, the package fail to
install when the netbase package isn't installed.  The latter was
discovered by piuparts.  See 
<URL: http://piuparts.debian.org/sid/fail/bfilter_1.1.4+svn20090620-1.log >
for the test log.

<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 package fail to
install when netbase isn't installed, and might start a bit too early
during boot.

diff -ru bfilter-1.1.4+svn20090620/debian/bfilter.init.d 
bfilter-1.1.4+svn20090620-pere/debian/bfilter.init.d
--- bfilter-1.1.4+svn20090620/debian/bfilter.init.d     2009-09-25 
11:02:18.000000000 +0200
+++ bfilter-1.1.4+svn20090620-pere/debian/bfilter.init.d        2009-09-25 
11:03:49.000000000 +0200
@@ -1,8 +1,8 @@
 #! /bin/sh
 ### BEGIN INIT INFO
 # Provides:          bfilter
-# Required-Start:    networking
-# Required-Stop:     networking
+# Required-Start:    $network $remote_fs $syslog
+# Required-Stop:     $network $remote_fs $syslog
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Start the bfilter web proxy.

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