+nfs-utils (1:1.0.7-15) unstable; urgency=low
+
+ * /var/lib/nfs/state is not a directory; it shouldn't really be mkdir-ed
+ or chowned (unless it already exists, in which case it should be
+ chowned). However, /var/lib/nfs should be owned by statd, so it can
+ create the file there. (Really Closes: #366654)
+ * umount /var/lib/nfs/rpc_pipefs on /etc/init.d/nfs-common stop; not doing
+ so could prevent purging of nfs-common.
+
+ -- Steinar H. Gunderson <sesse@debian.org> Thu, 11 May 2006 12:42:13 +0200
+
nfs-utils (1:1.0.7-14) unstable; urgency=high
* urgency=high; fixes RC bugs (or at least, bugs that should have been RC).
return 0
}
+do_umount() {
+ if mountpoint -q "$1"
+ then
+ umount "$1"
+ fi
+ return 0
+}
+
# See how we were called.
case "$1" in
start)
printf " statd"
start-stop-daemon --stop --oknodo --quiet \
--name rpc.statd
+ do_umount $PIPEFS_MOUNTPOINT
echo "."
;;
if [ "$2" = "" ] || dpkg --compare-versions "$2" lt 1:1.0.7-13; then
chown statd /var/lib/nfs/sm \
/var/lib/nfs/sm.bak \
- /var/lib/nfs/state \
- /var/lib/nfs/rpc_pipefs
+ /var/lib/nfs/rpc_pipefs \
+ /var/lib/nfs
+ if [ -f /var/lib/nfs/state ]; then
+ chown statd /var/lib/nfs/state
+ fi
fi
;;
esac