]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Imported Debian patch 1.2.2-1.1 debian/1%1.2.2-1.1
authorVagrant Cascadian <vagrant@debian.org>
Mon, 12 Jul 2010 20:52:13 +0000 (20:52 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 14 Jul 2010 02:59:56 +0000 (03:59 +0100)
debian/changelog
debian/nfs-common.postinst

index 90fa79e624b84f5d59bd9ea97d1562ac3f9db521..2333ba13d40f7df9f91dbacd0f083d79eb5d2d73 100644 (file)
@@ -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 ]
index d39b00304417ddc7bbbcf25784f6722ebdc1e536..e7d94511abfa938eb8a2edfc41699502cf96e4ea 100644 (file)
@@ -23,15 +23,13 @@ case "$1" in
                 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