Hi,

On Tue, May 17, 2016 at 04:45:35PM +0200, Ferenc W??gner wrote:
> Hi,
> 
> This bug really hurts our jessie systems.  Can we expect a stable update
> with the fix?

Attached is a proposed debdiff, as with the patch used for the
unstable uplaod.

Regards,
Salvatore
diff -Nru nss-pam-ldapd-0.9.4/debian/changelog 
nss-pam-ldapd-0.9.4/debian/changelog
--- nss-pam-ldapd-0.9.4/debian/changelog        2016-01-19 21:17:44.000000000 
+0100
+++ nss-pam-ldapd-0.9.4/debian/changelog        2016-11-09 13:48:14.000000000 
+0100
@@ -1,3 +1,11 @@
+nss-pam-ldapd (0.9.4-3+deb8u2) jessie; urgency=medium
+
+  * Non-maintainer upload.
+  * have init script stop action only return when nslcd has actually stopped
+    (Closes: #814881)
+
+ -- Salvatore Bonaccorso <car...@debian.org>  Wed, 09 Nov 2016 13:48:14 +0100
+
 nss-pam-ldapd (0.9.4-3+deb8u1) stable; urgency=low
 
   * fix-issues-withdaemonising.patch, avoid-signal-race.patch: patches to
diff -Nru nss-pam-ldapd-0.9.4/debian/nslcd.init 
nss-pam-ldapd-0.9.4/debian/nslcd.init
--- nss-pam-ldapd-0.9.4/debian/nslcd.init       2016-01-19 19:50:51.000000000 
+0100
+++ nss-pam-ldapd-0.9.4/debian/nslcd.init       2016-11-09 13:48:14.000000000 
+0100
@@ -96,7 +96,7 @@
   if [ "$K5START_START" = "yes" ]
   then
     log_daemon_msg "Stopping $K5START_DESC" "k5start"
-    start-stop-daemon --stop --oknodo --pidfile $K5START_PIDFILE
+    start-stop-daemon --stop --oknodo --retry 10 --pidfile $K5START_PIDFILE
     log_end_msg $?
     # remove any left behind files
     [ -n "$K5START_PIDFILE" ] && rm -f $K5START_PIDFILE
@@ -129,7 +129,7 @@
 stop)
   # stop nslcd
   log_daemon_msg "Stopping $NSLCD_DESC" "$NSLCD_NAME"
-  start-stop-daemon --stop --oknodo \
+  start-stop-daemon --stop --oknodo --retry 10 \
                     --pidfile $NSLCD_PIDFILE \
                     --name "$NSLCD_NAME"
   log_end_msg $?

Reply via email to