From 5a33314714b11a697217ff4530bdd5773bb18519 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Mon, 13 Jan 2014 14:02:06 -0800 Subject: [PATCH] debian/patches/21-no-more-var-run.patch: PID files should be in /run, not /var/run. Closes LP: #1157171. --- debian/changelog | 3 +++ debian/nfs-common.init | 4 ++-- debian/patches/series | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 3f54cb8..65458eb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Mon, 23 Sep 2013 03:59:19 +0100 diff --git a/debian/nfs-common.init b/debian/nfs-common.init index 25ff4f7..39f63f2 100644 --- a/debian/nfs-common.init +++ b/debian/nfs-common.init @@ -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 diff --git a/debian/patches/series b/debian/patches/series index 4782087..bf91ce0 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -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 -- 2.39.5