Package:  mandos
Version:  1.0-1
Severity: serious
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 depend on avahi-daemon, a
provide that no other script provide.  I suspect it want the avahi
facility provided by the avahi-daemon script.  Also, the script uses
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 fix the issues.  The avahi-daemon dependency is
changed to avahi.  It also make sure the script starts after syslog,
to avoid any syslog messages being lost during boot.  Setting severity
serious as the package will fail to install because the avahi-daemon
provides do not exist.

diff -ur ../mandos-1.0.11/init.d-mandos ../mandos-1.0.11-pere/init.d-mandos
--- ../mandos-1.0.11/init.d-mandos      2009-05-23 07:23:25.000000000 +0200
+++ ../mandos-1.0.11-pere/init.d-mandos 2009-09-16 16:08:30.000000000 +0200
@@ -1,8 +1,8 @@
 #! /bin/sh
 ### BEGIN INIT INFO
 # Provides:          mandos
-# Required-Start:    $remote_fs avahi-daemon
-# Required-Stop:     $remote_fs
+# Required-Start:    $remote_fs $syslog avahi
+# Required-Stop:     $remote_fs $syslog
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Mandos server

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