Bug#253119: Wrong exit status on start if nscd already running
Package: nscd
Version: 2.3.2.ds1-13
Severity: normal
Tags: patch
The initscript returns 1 on "start" if nscd is already running.
That violates policy. To correct this, add the "--oknodo" option to the
start-stop-daemon command that runs on start.
--- nscd_ORIG 2004-05-25 20:39:47.000000000 +0200
+++ nscd 2004-06-07 12:14:33.000000000 +0200
@@ -33,7 +33,7 @@
fi
done
echo -n "Starting Name Service Cache Daemon: nscd"
- start-stop-daemon --start --quiet --exec /usr/sbin/nscd -- $secure
+ start-stop-daemon --start --oknodo --quiet --exec /usr/sbin/nscd -- $secure
RETVAL=$?
echo "."
;;
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (900, 'unstable'), (700, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.25
Locale: LANG=en_IE@euro, LC_CTYPE=en_IE@euro
Versions of packages nscd depends on:
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
-- no debconf information
Reply to: