* Use --name instead of --exec when stopping daemons;
the running binary may have been renamed or removed.
* Keep NFS fully operational during upgrade. (closes: #76544)
* When calling update-rc.d, send stdout to /dev/null, but not stderr.
- -- Chip Salzenberg <chip@debian.org> Thu, 13 Dec 2001 18:30:36 -0800
+ -- Chip Salzenberg <chip@debian.org> Thu, 13 Dec 2001 18:50:47 -0800
nfs-utils (1:0.3.3-4) unstable; urgency=high
then
printf " lockd"
start-stop-daemon --stop --oknodo --quiet \
- --exec $PREFIX/sbin/rpc.lockd
+ --name rpc.lockd --user 0
fi
printf " statd"
start-stop-daemon --stop --oknodo --quiet \
- --exec $PREFIX/sbin/rpc.statd
+ --name rpc.statd --user 0
echo "."
;;
stop)
printf "Stopping $DESC: mountd"
start-stop-daemon --stop --oknodo --quiet \
- --exec $PREFIX/sbin/rpc.mountd
+ --name rpc.mountd --user 0
printf " nfsd"
start-stop-daemon --stop --oknodo --quiet \
- --name nfsd --user root --signal 2
+ --name nfsd --user 0 --signal 2
echo "."
printf "Unexporting directories for $DESC..."