Package:  rwhod
Version:  0.17-10
Severity: important
Tags:     patch
User:     [email protected]
Usertags: incorrect-dependency

With dependency based boot sequencing, I discovered what I believe is
a bug in the init.d script. The dependencies are not correct.  The
daemon log to syslog, and thus should depend on $syslog.  This will
make rwhod start before the syslog implementation, and the first
syslog messages logged might be lost.

<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 init.d will start
to early in the boot sequence.

diff -ur netkit-rwho-0.17/debian/rwhod.init 
netkit-rwho-0.17-pere/debian/rwhod.init
--- netkit-rwho-0.17/debian/rwhod.init  2009-08-14 17:50:28.000000000 +0200
+++ netkit-rwho-0.17-pere/debian/rwhod.init     2009-08-14 17:52:43.000000000 
+0200
@@ -2,8 +2,8 @@

 ### BEGIN INIT INFO
 # Provides:          rwhod
-# Required-Start:    $remote_fs $network
-# Required-Stop:     $remote_fs $network
+# 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: Server for rwho and ruptime services

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to