Package: nscd Version: 2.18-4 Severity: normal Tags: patch --- init.d.orig/nscd +++ init.d/nscd @@ -55,7 +55,7 @@ fi # Wait for children to finish too - start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec "$DAEMON" > /dev/null + start-stop-daemon --stop --quiet --pidfile "$PIDFILE" --oknodo --retry=0/30/KILL/5 --exec "$DAEMON" > /dev/null [ "$?" -ne 0 -a "$?" -ne 1 ] && return 2 rm -f "$PIDFILE" return "$RETVAL"
--- Dear nscd maintainers, I run a number of linux containers on my host, when I stop nscd daemon on the host system the daemons inside lxc are stopped as well. The patch above suppose to solve this problem. Thank you, Alex -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages nscd depends on: ii libaudit1 1:2.3.4-1 ii libc6 2.18-4 ii libcap2 1:2.22-1.2 ii libselinux1 2.2.2-1 nscd recommends no packages. nscd suggests no packages. -- no debconf information
Subject: add --pidfile option to "#Wait for children to finish too" check Index: init.d/nscd =================================================================== --- init.d.orig/nscd 2014-03-02 18:55:53.000000000 +0100 +++ init.d/nscd 2014-03-25 09:25:33.121741058 +0100 @@ -55,7 +55,7 @@ fi # Wait for children to finish too - start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec "$DAEMON" > /dev/null + start-stop-daemon --stop --quiet --pidfile "$PIDFILE" --oknodo --retry=0/30/KILL/5 --exec "$DAEMON" > /dev/null [ "$?" -ne 0 -a "$?" -ne 1 ] && return 2 rm -f "$PIDFILE" return "$RETVAL"