Package:  spampd
Version:  2.30-6
Severity: important
Tags:     patch
User:     [EMAIL PROTECTED]
Usertags: incorrect-dependency

I just checked the shutdown order in unstable on a machine with
dependency based boot sequencing enabled, and discovered a problem
with the init.d scripts provided in the spampd package.  It stops to
late and start to early, as it do not depend on $remote_fs which
guarantee that /usr/ will be mounted and that it stops before
sendsigs.

Another issue is that the init.d script list S in its stop runlevel
list.  This make a useless stop symlink in rcS.d/, and S should not be
included there.

Here is a patch to solve these issues.

diff -ur spampd-2.30.orig/debian/spampd.init spampd-2.30/debian/spampd.init
--- spampd-2.30.orig/debian/spampd.init 2008-03-09 08:36:28.000000000 +0100
+++ spampd-2.30/debian/spampd.init      2008-03-09 08:37:11.000000000 +0100
@@ -9,10 +9,10 @@
 #
 ### BEGIN INIT INFO
 # Provides:            spampd
-# Required-Start:      $syslog $network $named $time
-# Required-Stop:       $syslog $network $named $time
+# Required-Start:      $remote_fs $syslog $network $named $time
+# Required-Stop:       $remote_fs $syslog $network $named $time
 # Default-Start:       2 3 4 5
-# Default-Stop:                S 0 1 6
+# Default-Stop:                0 1 6
 # Short-Description:   spam detection proxy for SMTP and LMTP
 # Description:                 SpamAssassin based perl proxy for SMTP and LMTP
 #                      which marks mails as spam/nonspam based on SpamAssassin

Happy hacking,
--
Petter Reinholdtsen



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

Reply via email to