[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Please unblock libnss-ldap (RC bug fix)

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.

DESC="Name Service Cache Daemon"

# 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

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

Reply to: