When testing the dependency based boot sequence ordering, I discovered
a dependency loop between sysklogd and bind9.

sysklogd depend on $named, implemented by bind9, and bind9 depend on
$syslog, implemented by sysklogd.  With these dependencies, it is
impossible to order the init.d scripts in a way that fulfills them.

I'm not quite sure where to best break this loop, but as sysklogd
currently is inserted with sequence number 10, while bind9 is inserted
with sequence number 15, this make me believe that the expected
behavior is that sysklogd is started before bind9, and thus that
sysklogd should not depend on $named.

If you agree, please drop $named from the Should-start and Should-stop
LSB headers.

Here is a complete patch implementing the change.

diff -ur sysklogd-1.5.orig/debian/rc sysklogd-1.5/debian/rc
--- sysklogd-1.5.orig/debian/rc 2007-12-31 00:03:23.000000000 +0100
+++ sysklogd-1.5/debian/rc      2007-12-31 00:05:37.000000000 +0100
@@ -5,10 +5,10 @@
 # Provides:             syslog
 # Required-Start:       $local_fs $time
 # Required-Stop:        $local_fs $time
-# Should-Start:         $network $named
-# Should-Stop:          $network $named
-# Default-Start:        S 1 2 3 4 5
-# Default-Stop:         0 6
+# Should-Start:         $network
+# Should-Stop:          $network
+# Default-Start:        1 2 3 4 5
+# Default-Stop:         0 1 6
 # Short-Description:    System logger
 ### END INIT INFO




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

Reply via email to