Package:  rwhod
Version:  0.17-9
Tags:     patch
User:     [EMAIL PROTECTED]
Usertags: incorrect-dependency

When testing dependency based boot sequencing, I discovered a bug in
the init.d script for rwhod.  Its dependencies make it start too early
in the boot.  It need a mounted /usr/, and thus should depend on
$remote_fs, not $local_fs.

This patch solve the issues:

diff -ur netkit-rwho-0.17.orig/debian/rwhod.init 
netkit-rwho-0.17/debian/rwhod.init
--- netkit-rwho-0.17.orig/debian/rwhod.init     2008-01-01 10:52:45.000000000 
+0100
+++ netkit-rwho-0.17/debian/rwhod.init  2008-01-01 10:54:15.000000000 +0100
@@ -2,8 +2,8 @@

 ### BEGIN INIT INFO
 # Provides:          rwhod
-# Required-Start:    $network $local_fs
-# Required-Stop:     $network $local_fs
+# Required-Start:    $remote_fs $network
+# Required-Stop:     $remote_fs $network
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Server for rwho and ruptime services

As the stop script do not seem to do anything except killing the
daemon, that task might be better left to the sendsigs script in
runlevel 0 and 6.  If this is indeed the case, I recommend removing 0
and 6 from the Default-Stop list to speed up the shutdown.

Happy hacking,
-- 
Petter Reinholdtsen



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

Reply via email to