Package: nscd Version: 2.7-18 Severity: important Tags: patch
$PATH should be set in /etc/init.d/nscd, because sometimes '/etc/init.d/nscd start' fails with error: Restarting Name Service Cache Daemon: nscd/etc/init.d/nscd: line 54: start-stop-daemon: command not found /etc/init.d/nscd: line 60: start-stop-daemon: command not found /etc/init.d/nscd: line 39: start-stop-daemon: command not found (failed -- old process is still running). failed! This happens when running this crontab job (to make me sure service is up and running): 22:19 r...@apollo [~] ##: crontab -l | grep nscd * * * * * if [ -z "`pidof nscd`" ]; then /etc/init.d/nscd restart; fi Here is little patch: 22:19 r...@apollo [~] ##: diff -u /etc/init.d/nscd.orig /etc/init.d/nscd --- /etc/init.d/nscd.orig 2009-09-03 22:13:51.757424414 +0200 +++ /etc/init.d/nscd 2009-09-03 22:13:55.907048763 +0200 @@ -20,6 +20,7 @@ NAME="nscd" DESC="Name Service Cache Daemon" +PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin DAEMON="/usr/sbin/nscd" PIDFILE="/var/run/nscd/nscd.pid" Best regards, Lubomir Host -- System Information: Debian Release: 5.0.2 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=sk_SK.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages nscd depends on: ii libc6 2.7-18 GNU C Library: Shared libraries nscd recommends no packages. nscd suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org