[pkg-kolab] Bug#475128: kolab-cyrus-common: Problem with LSB header in init.d script

Petter Reinholdtsen pere at hungry.com
Wed Apr 9 09:05:21 UTC 2008


Package:  kolab-cyrus-common
Version:  2.2.13-4
Severity: important
Tags:     patch
User:     initscripts-ng-devel at lists.alioth.debian.org
Usertags: incorrect-dependency

I just checked the boot order in unstable on a machine with dependency
based boot sequencing enabled, and discovered a problem with the
init.d scripts provided in this package.  It ask for a stop symlink in
rcS.d/, which is always wrong.  Also, it need a mounted /usr/, and
should thus depend on $remote_fs during startup.  It should be stopped
before sendsigs kills all processes, and thus should depend on
$remote_fs during shutdown too.

Here is a patch to solve this issue.

diff -ur kolab-cyrus-imapd-2.2.13.orig/debian/kolab-cyrus-common.kolab-cyrus.init kolab-cyrus-imapd-2.2.13/debian/kolab-cyrus-common.kolab-cyrus.init
--- kolab-cyrus-imapd-2.2.13.orig/debian/kolab-cyrus-common.kolab-cyrus.init    2008-04-09 11:00:38.000000000 +0200
+++ kolab-cyrus-imapd-2.2.13/debian/kolab-cyrus-common.kolab-cyrus.init 2008-04-09 11:02:00.000000000 +0200
@@ -2,10 +2,10 @@
 #
 ### BEGIN INIT INFO
 # Provides: kolab-cyrus-common
-# Required-Start: $syslog $network
-# Required-Stop: $syslog $network
+# Required-Start: $remote_fs $syslog $network
+# Required-Stop: $remote_fs $syslog $network
 # Default-Start: 2 3 4 5
-# Default-Stop: S 0 1 6
+# Default-Stop:  0 1 6
 # Short-Description: common init system for kolab-cyrus IMAP/POP3 daemons.
 # Description: common init system for kolab-cyrus IMAP/POP3 daemons.
 #              start central kolab-cyrus master process, which can

Happy hacking,
--
Petter Reinholdtsen






More information about the pkg-kolab-devel mailing list