Package:  libnss-ldap
Version:  238-1
Tags:     patch
User:     [EMAIL PROTECTED]
Usertags: incorrect-dependency

To be able to check boot script order, and also to be able to start
boot scripts in parallel, it is important to know the dependencies of
the various boot scripts.  The Linux Software Base specifies a init.d
header file format useful for this purpose, and adding such header to
the libnss-ldap init.d script would make it possible for me to use
this information to check the current sequence and to speed up the
debian boot.

<URL:http://refspecs.freestandards.org/LSB_2.1.0/LSB-generic/LSB-generic/initscrcomconv.html>
documents the LSB header format.  Some debian notes are available from
<URL:http://wiki.debian.org/?LSBInitScripts>.

Here is a patch relative to version 258-1 to document the dependencies
of libnss-ldap.  As far as I can tell, it does not depend on many of
the other init.d scripts, and should be running only during bootup and
reboot/halt.  I hope this was correct.

--- /etc/init.d/libnss-ldap.orig     2006-09-29 21:30:29.000000000 +0200
+++ /etc/init.d/libnss-ldap    2007-10-27 10:46:44.000000000 +0200
@@ -1,4 +1,11 @@
 #! /bin/sh
+### BEGIN INIT INFO
+# Provides:          libnss-ldap
+# Required-Start:    mountkernfs
+# Required-Stop:     $local_fs
+# Default-Start:     S
+# Default-Stop:      0 6
+### END INIT INFO

 case "$1" in
   start|restart|force-reload)



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

Reply via email to