Package: nfs-common Followup-For: Bug #574510 this patch partially addresses the issue by ensuring that the files are owned by statd no matter what version is installed, even if a previous version was installed.
--- nfs-common.postinst.orig 2010-06-20 18:29:11.000000000 -0700 +++ nfs-common.postinst 2010-06-20 18:28:44.000000000 -0700 @@ -23,7 +23,6 @@ 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 \ /var/lib/nfs/sm.bak \ /var/lib/nfs/rpc_pipefs \ @@ -31,7 +30,6 @@ if [ -f /var/lib/nfs/state ]; then chown statd /var/lib/nfs/state 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 it looks like the comparison with an empty "$2" argument works for an initial install, but not when a package was removed and later re-installed, as postinst will be called with the previously installed version as an argument. other parts of the postinst may be affected by similar uses of tests against "$2". live well, vagrant -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org