Package:  exim4-base
Version:  4.62-3
Severity: important
Tags:     patch
User:     [EMAIL PROTECTED]
Usertags: incorrect-dependency

While testing dependency based boot sequencing, I ran into a problem
with the exim package.  Its init.d script provide the same name as the
postfix package, and this generate a name conflict that make it
impossible to install exim4-base when switching from postfix to exim4.
The solution is to drop the incorrect provide mail-transport-agent
from the LSB header.  I've asked the postfix maintainer to do the
same, as the scripts really only should provide the name of their
script.

While looking at the header, I discovered a redundant dependency on
$local_fs which is not needed when remote_fs is also listed.  I
recommend to remove it.

I'm setting severity to important as this issue make it impossible to
install exim4-base after postfix when dependency based boot sequencing
is enabled.

This patch implement the change:

diff -ur exim4-4.68/debian/exim4-base.exim4.init 
exim4-4.68.orig/debian/exim4-base.exim4.init
--- exim4-4.68/debian/exim4-base.exim4.init     2008-01-11 13:15:21.000000000 
+0100
+++ exim4-4.68.orig/debian/exim4-base.exim4.init        2008-01-11 
13:13:53.000000000 +0100
@@ -8,9 +8,9 @@
 #                   and Marc Haber <[EMAIL PROTECTED]>

 ### BEGIN INIT INFO
-# Provides:          exim4
-# Required-Start:    $remote_fs $syslog $named $network $time
-# Required-Stop:     $remote_fs $syslog $named $network
+# Provides:          exim4 mail-transport-agent
+# Required-Start:    $local_fs $remote_fs $syslog $named $network $time
+# Required-Stop:     $local_fs $remote_fs $syslog $named $network
 # Should-Start:      postgresql mysql clamav-daemon greylist spamassassin
 # Should-Stop:       postgresql mysql clamav-daemon greylist spamassassin
 # Default-Start:     2 3 4 5


Happy hacking,
-- 
Petter Reinholdtsen



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

Reply via email to