On Tue, 2008-11-04 at 16:08 +0100, Andreas Barth wrote: > * Neil Williams (codehelp@debian.org) [081104 16:03]: > > http://incoming.debian.org/libnss-ldap_261-2.1_amd64.changes > > > I doubt that this changes is correct, because /etc/init.d/nscd is an > conffile and isn't removed during remove but only during purge. > > You need to check that both the conffile exists plus the binary. I did some testing on the fix and the init script actually does check for the existence of the binary: in glibc-2.7/debian/nscd.init # Sanity checks. NAME="nscd" DESC="Name Service Cache Daemon" DAEMON="/usr/sbin/nscd" PIDFILE="/var/run/nscd/nscd.pid" # Sanity checks. umask 022 [ -f /etc/nscd.conf ] || exit 0 [ -x "$DAEMON" ] || exit 0 [ -d /var/run/nscd ] || mkdir -p /var/run/nscd . /lib/lsb/init-functions If you prefer that I add a double check then I can but the bug itself was about /etc/init.d/nscd being removed during an etch->lenny upgrade whilst /usr/sbin/nscd remained. > invoke-rc.d: unknown initscript, /etc/init.d/nscd not found. > dpkg: error processing libnss-ldap (--configure): > subprocess post-installation script returned error exit status 100 > dpkg: dependency problems prevent configuration of ldapscripts: > ldapscripts depends on libnss-ldap; however: > Package libnss-ldap is not configured yet. -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
Attachment:
signature.asc
Description: This is a digitally signed message part