Your message dated Tue, 27 Nov 2007 13:34:18 -0800 (PST)
with message-id <[EMAIL PROTECTED]>
and subject line Bug#448222: Please add LSB formatted dependency info in init.d
script
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
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)
--- End Message ---
--- Begin Message ---
On Sun, 18 Nov 2007, Petter Reinholdtsen wrote:
[Richard A Nelson]
Uhm, please issue the following command:
dpkg -S /etc/init.d/libnss-ldap
The libnss-ldap package does *NOT* provide that file, nor is there
any reason (that I can see) for there to be one... All the work is
done via standard nss calls (via nsswitch).
Hm, strange. My sid chroot claim it does, and it is only updating
/lib/init/rw/libnss-ldap.bind_policy_soft:
minerva:/# dpkg -S /etc/init.d/libnss-ldap
libnss-ldap: /etc/init.d/libnss-ldap
minerva:/# cat /etc/init.d/libnss-ldap
#! /bin/sh
case "$1" in
start|restart|force-reload)
touch /lib/init/rw/libnss-ldap.bind_policy_soft ;;
stop)
rm -f /lib/init/rw/libnss-ldap.bind_policy_soft ;;
*)
echo "Usage: $0 {start|stop|restart|force-reload}"
exit 1
;;
esac
minerva:/#
Ah, I did some digging, and your sid chroot is old !
you had a version of libnss-ldap < 251-6, I remember now the issues
that caused that file to be created
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=390926
Purging the package did not remove the file, but after it was purged,
dpkg -S no longer claimed it was part of that package. Some old file
that was removed from the package, but not removed from disk?
Odd... it should've gone away during an upgrade - unless it wasn't
marked as a conffile; but that was before my time on the package
--
Rick Nelson
<knghtbrd> add a GF2/3, a sizable hard drive, and a 15" flat panel and
you've got a pretty damned portable machine.
<Coderjoe> a GeForce Two-Thirds?
<knghtbrd> Coderjoe: yes, a GeForce two-thirds, ie, any card from ATI.
--- End Message ---