debian/patches/21-no-more-var-run.patch: PID files should be in /run, not /var/run...
authorSteve Langasek <steve.langasek@canonical.com>
Mon, 13 Jan 2014 22:02:06 +0000 (14:02 -0800)
committerSteve Langasek <steve.langasek@canonical.com>
Mon, 13 Jan 2014 22:02:06 +0000 (14:02 -0800)
debian/changelog
debian/nfs-common.init
debian/patches/series

index 3f54cb8..65458eb 100644 (file)
@@ -7,6 +7,9 @@ nfs-utils (1:1.2.8-5) UNRELEASED; urgency=low
     support /var on NFS.
   * Don't start the nfs-common init script from the nfs-kernel-server
     maintainer script, this is entirely redundant.
+  * debian/patches/21-no-more-var-run.patch: PID files should be in
+    /run, not /var/run.
+    Closes LP: #1157171.
 
  -- Ben Hutchings <ben@decadent.org.uk>  Mon, 23 Sep 2013 03:59:19 +0100
 
index 25ff4f7..39f63f2 100644 (file)
@@ -129,7 +129,7 @@ case "$1" in
                fi
            fi
            start-stop-daemon --start --oknodo --quiet \
-               --pidfile /var/run/rpc.statd.pid \
+               --pidfile /run/rpc.statd.pid \
                --exec /sbin/rpc.statd -- $STATDOPTS
            RET=$?
            if [ $RET != 0 ]; then
@@ -138,7 +138,7 @@ case "$1" in
            else
                if [ -d /run/sendsigs.omit.d ]; then
                    rm -f /run/sendsigs.omit.d/statd
-                   ln -s /var/run/rpc.statd.pid /run/sendsigs.omit.d/statd
+                   ln -s /run/rpc.statd.pid /run/sendsigs.omit.d/statd
                fi
            fi
        fi
index 4782087..bf91ce0 100644 (file)
@@ -1,3 +1,4 @@
+21-no-more-var-run.patch
 01-sm-notify-in-sbin.patch
 02-524255-manpages.patch
 03-handle-mtab-symlink.patch