Package:  fiaif
Version:  1.21.1-12
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 script.  The script starts in rcS.d/, yet depend
on $syslog (which starts rc2.d/).  This leads to an impossible and
unstable boot ordering.  Also, as the fiaif package is a firewall, I
suspect it should depend on $network.

<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.

diff -ru fiaif-1.21.1/debian/patches/16_init_lsb_headers.dpatch 
fiaif-1.21.1-pere/debian/patches/16_init_lsb_headers.dpatch
--- fiaif-1.21.1/debian/patches/16_init_lsb_headers.dpatch      2009-09-17 
21:03:40.000000000 +0200
+++ fiaif-1.21.1-pere/debian/patches/16_init_lsb_headers.dpatch 2009-09-17 
21:11:17.000000000 +0200
@@ -14,8 +14,8 @@
 -# fiaif               Intelligent firewall
 +### BEGIN INIT INFO
 +# Provides:          fiaif
-+# Required-Start:    $remote_fs $syslog
-+# Required-Stop:     $remote_fs $syslog
++# Required-Start:    $network $remote_fs
++# Required-Stop:     $network $remote_fs
 +# Default-Start:     S
 +# Default-Stop:      0 6
 +# Short-Description: Intelligent firewall

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