** Summary changed: - error in /etc/init.d/nscd script + '/etc/init.d/nscd restart' fails
** Description changed: Binary package hint: nscd when restarting nscd, one gets: Restarting Name Service Cache Daemon: nscd/usr/sbin/nscd: option `--invalidate' requires an argument Try `nscd --help' or `nscd --usage' for more information. (failed to stop). The problem is line 89: "$DAEMON --invalidate" One needs to specify which table to invalidate. Debian etch and unstable use "$DAEMON --invalidate passwd --invalidate - group" + group", however people often restart the nscd service to invalidate the + hosts database too (provided persistent cacheing is disabled), so '-- + invalidate hosts' must be used for the previous behaviour. - The is also a host database in the default install. This table does not - get invalidated in debian. + Patch is (apply with -l): + + --- /etc/init.d/nscd.orig 2007-01-17 18:20:46.000000000 +0000 + +++ /etc/init.d/nscd 2007-01-17 18:21:21.000000000 +0000 + @@ -86,7 +86,7 @@ + restart|force-reload|reload) + echo -n "Restarting $DESC: $NAME" + stop + - $DAEMON --invalidate + + $DAEMON --invalidate passwd --invalidate group --invalidate hosts + case "$?" in + 0|1) + start -- '/etc/init.d/nscd restart' fails https://launchpad.net/bugs/72647 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs