[linux] 05/18: [x86] hyperv-daemons: Create pid files under /run, not /var/run

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Sun Oct 1 15:18:04 UTC 2017


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch master
in repository linux.

commit 6d1b6b2dc82a5d8fb2d4625c8e44a49f66eddeef
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Sat Sep 30 12:53:38 2017 +0100

    [x86] hyperv-daemons: Create pid files under /run, not /var/run
---
 debian/changelog                           | 1 +
 debian/hyperv-daemons.hv-fcopy-daemon.init | 2 +-
 debian/hyperv-daemons.hv-kvp-daemon.init   | 2 +-
 debian/hyperv-daemons.hv-vss-daemon.init   | 2 +-
 4 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e8bbccc..e9a6b49 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,7 @@ linux (4.13.4-1~exp1) UNRELEASED; urgency=medium
   * [x86] hyperv-daemons: Use pid file name in init script status operation
   * Update policy version to 4.1.1:
     - linux-doc: Build an empty package when the nodoc profile is used
+    - [x86] hyperv-daemons: Create pid files under /run, not /var/run
 
   [ Uwe Kleine-König ]
   * [arm64] really enable NET_DSA_MV88E6XXX for Espressobin
diff --git a/debian/hyperv-daemons.hv-fcopy-daemon.init b/debian/hyperv-daemons.hv-fcopy-daemon.init
index 923b67b..7ecfc2a 100755
--- a/debian/hyperv-daemons.hv-fcopy-daemon.init
+++ b/debian/hyperv-daemons.hv-fcopy-daemon.init
@@ -12,7 +12,7 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
 DESC="Hyper-V file copy service (FCOPY) daemon"
 NAME=hv_fcopy_daemon
 DAEMON=/usr/sbin/$NAME
-PIDFILE=/var/run/$NAME.pid
+PIDFILE=/run/$NAME.pid
 SCRIPTNAME=/etc/init.d/hyperv-daemons.hv-fcopy-daemon
 
 # Exit if the package is not installed
diff --git a/debian/hyperv-daemons.hv-kvp-daemon.init b/debian/hyperv-daemons.hv-kvp-daemon.init
index bf16230..20a8117 100755
--- a/debian/hyperv-daemons.hv-kvp-daemon.init
+++ b/debian/hyperv-daemons.hv-kvp-daemon.init
@@ -12,7 +12,7 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
 DESC="Hyper-V key-value pair (KVP) daemon"
 NAME=hv_kvp_daemon
 DAEMON=/usr/sbin/$NAME
-PIDFILE=/var/run/$NAME.pid
+PIDFILE=/run/$NAME.pid
 SCRIPTNAME=/etc/init.d/hyperv-daemons.hv-kvp-daemon
 
 # Exit if the package is not installed
diff --git a/debian/hyperv-daemons.hv-vss-daemon.init b/debian/hyperv-daemons.hv-vss-daemon.init
index a99d8f2..ec2df0a 100755
--- a/debian/hyperv-daemons.hv-vss-daemon.init
+++ b/debian/hyperv-daemons.hv-vss-daemon.init
@@ -12,7 +12,7 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
 DESC="Hyper-V volume shadow copy service (VSS) daemon"
 NAME=hv_vss_daemon
 DAEMON=/usr/sbin/$NAME
-PIDFILE=/var/run/$NAME.pid
+PIDFILE=/run/$NAME.pid
 SCRIPTNAME=/etc/init.d/hyperv-daemons.hv-vss-daemon
 
 # Exit if the package is not installed

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git



More information about the Kernel-svn-changes mailing list