Bug#502760: Please unblock libnss-ldap (RC bug fix)

2008-11-04 Thread Andreas Barth
* Neil Williams ([EMAIL PROTECTED]) [081104 16:03]:
 http://incoming.debian.org/libnss-ldap_261-2.1_amd64.changes
 
 $ debdiff ../libnss-ldap_261-2.dsc ../libnss-ldap_261-2.1.dsc
 
 diff -u libnss-ldap-261/debian/libnss-ldap.postinst 
 libnss-ldap-261/debian/libnss-ldap.postinst
 --- libnss-ldap-261/debian/libnss-ldap.postinst
 +++ libnss-ldap-261/debian/libnss-ldap.postinst
 @@ -176,7 +176,7 @@
   cp -p /etc/ldap.secret /etc/libnss-ldap.secret
  fi
  
 -if [ -s /usr/sbin/nscd ]; then
 +if [ -x /etc/init.d/nscd ]; then
   if [ `pidof -s nscd` ]; then 
   if which invoke-rc.d /dev/null 21; then
   invoke-rc.d nscd restart
 diff -u libnss-ldap-261/debian/changelog libnss-ldap-261/debian/changelog
 --- libnss-ldap-261/debian/changelog
 +++ libnss-ldap-261/debian/changelog
 @@ -1,3 +1,11 @@
 +libnss-ldap (261-2.1) unstable; urgency=low
 +
 +  * Non-maintainer upload.
 +  * libnss-ldap calls nscd init script w/o checking its existance
 +(Closes: #502760)
 +
 + -- Neil Williams [EMAIL PROTECTED]  Tue, 04 Nov 2008 14:07:23 +
 +
  libnss-ldap (261-2) unstable; urgency=low
  
* Updated nl.po   Closes: #469175

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.



Cheers,
Andi



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#502760: Please unblock libnss-ldap (RC bug fix)

2008-11-04 Thread Bastian Blank
On Tue, Nov 04, 2008 at 04:08:12PM +0100, Andreas Barth wrote:
 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.

The initscript have to check this on its own anyway.

Bastian

-- 
We have phasers, I vote we blast 'em!
-- Bailey, The Corbomite Maneuver, stardate 1514.2



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#502760: Please unblock libnss-ldap (RC bug fix)

2008-11-04 Thread Cyril Brulebois
Andreas Barth [EMAIL PROTECTED] (04/11/2008):
 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.

Hmm, that's the init script's job, not the postinst's?

Mraw,
KiBi.


signature.asc
Description: Digital signature