Just for the bug report, this is the patch I'd use for the NMU.

I'd like to upload today, along with the fix for #502760.

If you want to make the upload yourself, please ping me on irc
(codehelp) - find me on #debian-uk, #emdebian or #debian-dpkg

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/


diff -Nru nss-ldapd-0.6.5/debian/changelog nss-ldapd-0.6.5+nmu1/debian/changelog
--- nss-ldapd-0.6.5/debian/changelog	2008-08-22 10:46:55.000000000 +0100
+++ nss-ldapd-0.6.5+nmu1/debian/changelog	2008-11-04 14:06:32.000000000 +0000
@@ -1,3 +1,11 @@
+nss-ldapd (0.6.5+nmu1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * libnss-ldap calls nscd init script w/o checking its existance
+    (Closes: #504142)
+
+ -- Neil Williams <[EMAIL PROTECTED]>  Tue, 04 Nov 2008 14:06:28 +0000
+
 nss-ldapd (0.6.5) unstable; urgency=low
 
   * updated Swedish debconf translation by Martin Ă…gren (closes: #492910)
diff -Nru nss-ldapd-0.6.5/debian/libnss-ldapd.postinst nss-ldapd-0.6.5+nmu1/debian/libnss-ldapd.postinst
--- nss-ldapd-0.6.5/debian/libnss-ldapd.postinst	2008-11-04 14:03:04.000000000 +0000
+++ nss-ldapd-0.6.5+nmu1/debian/libnss-ldapd.postinst	2008-11-04 14:06:59.000000000 +0000
@@ -244,7 +244,7 @@
   #       as backup)
   # restart nscd to pick up changes in nsswitch.conf
   # (other processes will have to be restarted manually)
-  if [ -s /usr/sbin/nscd ] && [ `pidof -s nscd` ]
+  if [ -x /etc/init.d/nscd ] && [ `pidof -s nscd` ]
   then
     if which invoke-rc.d >/dev/null 2>&1
     then

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

Reply via email to