Package: nscd Version: 2.9-2 Severity: grave Justification: renders package unusable Tags: patch
Hi,
I just updated nscd and got:
> Setting up nscd (2.9-2) ...
> Installing new version of config file /etc/init.d/nscd ...
> /etc/init.d/nscd: line 97: syntax error near unexpected token `$DAEMON'
> /etc/init.d/nscd: line 97: ` $DAEMON --invalidate $table'
> invoke-rc.d: initscript nscd, action "start" failed.
> dpkg: error processing nscd (--configure):
> subprocess post-installation script returned error exit status 2
The following patch fixes this for me:
--- nscd.orig 2009-02-22 05:28:38.000000000 +0100
+++ nscd 2009-02-22 05:31:12.000000000 +0100
@@ -93,7 +93,7 @@
;;
restart|force-reload|reload)
log_daemon_msg "Restarting $DESC" "$NAME"
- for table in passwd group hosts
+ for table in passwd group hosts; do
$DAEMON --invalidate $table
done
stop_nscd
From my understanding, wouldn't it be better to mofe this for-loop
into the stop_nscd function?
With best wishes,
Wolfi
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages nscd depends on:
ii libc6 2.9-2 GNU C Library: Shared libraries
nscd recommends no packages.
nscd suggests no packages.
-- no debconf information
signature.asc
Description: Digital signature

