Bug#783159: libnss-ldap: postinst script not compatible with unscd
Package: libnss-ldap
Version: 264-2.5
Severity: normal
Dear Maintainer,
I found a bug in the postinst script of libnss-ldap. It looks for an
executable named /usr/sbin/nscd and, if found, tries to restart it by
invoking 'invoke-rc.d nscd restart'.
This is broken when unscd is used instead of the 'real' nscd. For
compatibility reasons, the unscd binary is also named /usr/sbin/nscd,
but the init script is /etc/init.d/unscd. So the postinst script fails.
Not a big deal, but I thought I'd let you know.
-- System Information:
Debian Release: 7.8
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages libnss-ldap depends on:
ii debconf [debconf-2.0] 1.5.49
ii libc6 2.13-38+deb7u8
ii libcomerr2 1.42.5-1.1+deb7u1
ii libgssapi-krb5-2 1.10.1+dfsg-5+deb7u3
ii libkrb5-3 1.10.1+dfsg-5+deb7u3
ii libldap-2.4-2 2.4.31-2
ii libsasl2-2 2.1.25.dfsg1-6+deb7u1
ii multiarch-support 2.13-38+deb7u8
Versions of packages libnss-ldap recommends:
ii libpam-ldap 184-8.6
ii unscd [nscd] 0.48-2
libnss-ldap suggests no packages.
-- debconf information excluded
Reply to: