Bug#574510: NMU to fix: statd running as root after remove/install
tags 574510 pending
thanks
Uploaded an NMU to DELAYED 3, with the patch previously submitted applied (with
some whitespace sanitizing) to fix this RC bug:
diff -Nru nfs-utils-1.2.2/debian/changelog nfs-utils-1.2.2/debian/changelog
--- nfs-utils-1.2.2/debian/changelog 2010-04-06 02:15:29.000000000 -0700
+++ nfs-utils-1.2.2/debian/changelog 2010-07-12 13:53:04.000000000 -0700
@@ -1,3 +1,11 @@
+nfs-utils (1:1.2.2-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Ensure files under /var/lib/nfs/ are owned by statd user.
+ Closes: #574510
+
+ -- Vagrant Cascadian <vagrant@debian.org> Mon, 12 Jul 2010 20:52:13 +0000
+
nfs-utils (1:1.2.2-1) unstable; urgency=low
[ Anibal Monsalve Salazar ]
diff -Nru nfs-utils-1.2.2/debian/nfs-common.postinst nfs-utils-1.2.2/debian/nfs-common.postinst
--- nfs-utils-1.2.2/debian/nfs-common.postinst 2010-01-12 19:18:00.000000000 -0800
+++ nfs-utils-1.2.2/debian/nfs-common.postinst 2010-07-12 13:51:59.000000000 -0700
@@ -23,15 +23,13 @@
rmdir --ignore-fail-on-non-empty /home/statd
fi
fi
- if [ "$2" = "" ] || dpkg --compare-versions "$2" lt 1:1.0.7-16; then
- chown statd /var/lib/nfs/sm \
+ chown statd /var/lib/nfs/sm \
/var/lib/nfs/sm.bak \
/var/lib/nfs/rpc_pipefs \
/var/lib/nfs
- if [ -f /var/lib/nfs/state ]; then
+ if [ -f /var/lib/nfs/state ]; then
chown statd /var/lib/nfs/state
- fi
- fi
+ fi
if [ "$2" != "" ] || dpkg --compare-versions "$2" lt 1:1.1.0-14; then
if dpkg-statoverride --list /sbin/mount.nfs >/dev/null 2>&1; then
live well,
vagrant
Reply to: