Subject: slapd: please run init script at earlier sequence
Package: slapd
Version: 2.4.7-6.2
Severity: wishlist
Tags: patch

I'm the maintainer of nss-ldapd and have a bug (#475626) filed against
my package to start it at an earlier sequence. However, it is best to
start it after slapd. If slapd could be started earlier I would be able
to solve my problem.

Some discussion of this problem can be found here:
http://lists.debian.org/debian-devel/2008/04/msg00872.html

The attached patch should fix this. The stop sequence is not incremented
because it is already much higher than other packages. Also note that
this would only affect new installations.

On my systems this would bring slapd to be started before amavis and
amavisd-new-milter both of which shouldn't be a problem.

-- 
-- arthur - [EMAIL PROTECTED] - http://people.debian.org/~adejong --
diff -Naur debian.orig/rules debian/rules
--- debian.orig/rules	2008-04-30 10:42:27.000000000 +0200
+++ debian/rules	2008-04-30 11:10:05.000000000 +0200
@@ -143,7 +143,7 @@
 	dh_installdocs -a
 	dh_installexamples -a
 	dh_installman -a
-	dh_installinit -Xslapd.prerm -a -- "defaults 19 80"
+	dh_installinit -Xslapd.prerm -a -- "defaults 18 80"
 	dh_installdebconf -a
 	dh_strip -plibldap-2.4-2 --dbg-package=libldap-2.4-2-dbg
 	dh_strip -pslapd --dbg-package=slapd-dbg

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to