Your message dated Fri, 18 Oct 2013 16:03:27 +0000 with message-id <[email protected]> and subject line Bug#719878: fixed in libnss-ldap 265-1 has caused the Debian Bug report #719878, regarding libnss-ldap fails to install in a chroot 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 this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 719878: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719878 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libnss-ldap Version: 264-2.5 Severity: normal Hi, libnss-ldap fails to install in a chroot (like with e.g. live-build) Excerpt from the live-bild logfile: -----8<------ Setting up libnss-ldap:amd64 (264-2.5) ...^M invoke-rc.d: unknown initscript, /etc/init.d/nscd not found.^M dpkg: error processing libnss-ldap:amd64 (--configure):^M subprocess installed post-installation script returned error exit status 100^M -----8<------ I have an nscd running on the host, outside the chroot. Now within the chroot, libnss-ldap and nscd get installed during the same run of dpkg. When libnss-ldap's postinst script runs, nscd has only been extracted but not yet been configured, so there only exists /etc/init.d/nscd.dpkg-new and not yet the final version. Now the postinst script checks for a running nscd, stumbles over the nscd PID of the host (outisde the chroot) an checks the existence of the nscd binary whithin the chroot - and triggers the restart... script not found -> *boom* To circumvent this instead of checking for /usr/sbin/nscd I suggest to check for [ -s /etc/init.d/nscd ] Cheers Daniel -- System Information: Debian Release: 7.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Versions of packages libnss-ldap depends on: ii debconf [debconf-2.0] 1.5.49 ii libc6 2.13-38 ii libcomerr2 1.42.5-1.1 ii libgssapi-krb5-2 1.10.1+dfsg-5+deb7u1 ii libkrb5-3 1.10.1+dfsg-5+deb7u1 ii libldap-2.4-2 2.4.31-1+nmu2 ii libsasl2-2 2.1.25.dfsg1-6+deb7u1 ii multiarch-support 2.13-38 Versions of packages libnss-ldap recommends: iu libpam-ldap 184-8.6 iu nscd 2.13-38 libnss-ldap suggests no packages. -- debconf information excluded
--- End Message ---
--- Begin Message ---Source: libnss-ldap Source-Version: 265-1 We believe that the bug you reported is fixed in the latest version of libnss-ldap, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Arthur de Jong <[email protected]> (supplier of updated libnss-ldap package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Fri, 18 Oct 2013 17:43:30 +0200 Source: libnss-ldap Binary: libnss-ldap Architecture: source i386 Version: 265-1 Distribution: unstable Urgency: low Maintainer: Debian QA Group <[email protected]> Changed-By: Arthur de Jong <[email protected]> Description: libnss-ldap - NSS module for using LDAP as a naming service Closes: 134214 310563 661628 672330 719878 724408 Changes: libnss-ldap (265-1) unstable; urgency=low . [ Barry deFreese ] * QA upload. + Set maintainer to Debian QA Group <[email protected]> (See: #699114). * New upstream release. + Fix ether lookups. (Closes: #310563). + Add broken_build_system.patch. + Add fix_multiarch_dir.patch. + Borrow fix_ldap_sessions_mem_leak.patch from Ubuntu. * Update postinst to use nscd or unscd (Closes: #661628, #134214). * Make package source format 3.0 (quilt). * Replace CDBS build system with dh style. * Bump debhelper build-dep and compat to 9. * Bump Standards Version to 3.9.4. . [ Arthur de Jong ] * Use dh_autoreconf with the latests automake and refresh patches and dependencies accordingly (Closes: #724408). * Add Homepage and Vcs-* fields to debian/control. * Drop dh_buildinfo build-dependency and clean up build dependencies. * Add DEP-3 headers to all patches and use consistent naming for patches. * Add lintian override for the NSS module which looks like a shared library but isn't. * Clean up the maintainer scripts and make it easier to share code with libpam-ldap. * Add spelling-fix.patch with spelling fixes in the manual page (thanks Lintian). * Remove --enable-schema-mapping from configure call which was removed a long time ago. * Add lintian override for lintian not finding use of debconf template in config script. * When restarting (u)nscd, check whether the init script is present (Closes: #719878). * Remove code for removing old /etc/init.d/libnss-ldap kluge. * Debconf translations: - Turkish (Closes: #672330) Checksums-Sha1: 6556692fe5493c60473fc452cd912849bb13d5ad 1344 libnss-ldap_265-1.dsc 743581914fc8c9b4d33955c2cc7acd0c3c44a430 280976 libnss-ldap_265.orig.tar.gz 9ceb8af2dbb413b8a2fa4684ec8d3872dd3005c3 62912 libnss-ldap_265-1.debian.tar.gz 77fbccda50737339044dc319b92a3814b8bd590f 113658 libnss-ldap_265-1_i386.deb Checksums-Sha256: 865ad2c528096ac20e227089002bae615dab03346231136b920fd5c02b814300 1344 libnss-ldap_265-1.dsc 77b54d905f50d774f28d5559d49126f1bc76720f741b0864a64bb4936ec226a8 280976 libnss-ldap_265.orig.tar.gz ce42496d3ed3cbc1005162ab8f3df905b749217b3a511c5fe93694ffc4f1658c 62912 libnss-ldap_265-1.debian.tar.gz e38201b93e32de6e046ca0e2528a6c18b1f58912df085ac133a63ff6a5ec5760 113658 libnss-ldap_265-1_i386.deb Files: eb9ce828ddec4056e32de57c13c74d30 1344 net extra libnss-ldap_265-1.dsc c1cb02d1a85538cf16bca6f6a562abe4 280976 net extra libnss-ldap_265.orig.tar.gz e08665716feb08c6154de403a33d66b1 62912 net extra libnss-ldap_265-1.debian.tar.gz ffab68c933026fee656821c5db3f9150 113658 net extra libnss-ldap_265-1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iEYEARECAAYFAlJhV6IACgkQVYan35+NCKe0/wCgpYr2z8efhRXWId1rfE6OKhW/ 1Y0An2AwOvHT5czwhOApIogShuMe4rmn =zHKb -----END PGP SIGNATURE-----
--- End Message ---

