[Petter Reinholdtsen] > If increased timeout is left out from the default configuration, > please implement support for sourcing /etc/default/nscd and allow a > policy compliant mechanism to replace the configuration file used by > nscd.
Something like this would make that possible, as long as the /etc/default/nscd fil is not included in the nscd package. --- nscd.orig 2010-05-02 09:18:23.770594050 +0200 +++ nscd 2010-05-02 09:23:22.494799709 +0200 @@ -21,10 +21,15 @@ DESC="Name Service Cache Daemon" DAEMON="/usr/sbin/nscd" PIDFILE="/var/run/nscd/nscd.pid" +CONFFILE=/etc/nscd.conf +OPTIONS # Sanity checks. umask 022 -[ -f /etc/nscd.conf ] || exit 0 + +if [ -r /etc/default/nscd ]; then . /etc/default/nscd ; fi + +[ -f "$CONFFILE" ] || exit 0 [ -x "$DAEMON" ] || exit 0 [ -d /var/run/nscd ] || mkdir -p /var/run/nscd . /lib/lsb/init-functions @@ -34,7 +39,7 @@ # Return # 0 if daemon has been started or was already running # 2 if daemon could not be started - start-stop-daemon --start --quiet --pidfile "$PIDFILE" --exec "$DAEMON" || return 2 + start-stop-daemon --start --quiet --pidfile "$PIDFILE" --exec "$DAEMON" -- $OPTIONS || return 2 } stop_nscd() Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org