app-emulation/libvirt: change '/var/run' to '/run' in rc init files
authorMatthias Maier <tamiko@gentoo.org>
Sun, 19 May 2019 22:14:34 +0000 (17:14 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Sun, 19 May 2019 23:42:11 +0000 (18:42 -0500)
(No revision bump for this minor change - a new revision for libvirt has
to be stabilized for the mds vulnearbilities anyway, so let's just sneak
this in :-))

Closes: https://bugs.gentoo.org/685302
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
app-emulation/libvirt/files/libvirtd.init-r16
app-emulation/libvirt/files/libvirtd.init-r17
app-emulation/libvirt/files/virtlockd.init-r1
app-emulation/libvirt/files/virtlogd.init-r1

index be660e35a1d8d20eb2f7a1c12482e1faa703c2b4..2a3fb52696ab3cfbc86293e49cd33eae7052ea73 100644 (file)
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 description="Virtual Machine Management daemon (libvirt)"
@@ -10,7 +10,7 @@ LIBVIRTD_TIMEOUT=${LIBVIRTD_TERMTIMEOUT:-"TERM/25/KILL/5"}
 command="/usr/sbin/libvirtd"
 command_args="-d ${LIBVIRTD_OPTS}"
 start_stop_daemon_args="--env KRB5_KTNAME=/etc/libvirt/krb5.tab"
-pidfile="/var/run/libvirtd.pid"
+pidfile="/run/libvirtd.pid"
 retry="${LIBVIRTD_TERMTIMEOUT}"
 
 depend() {
index ca3f872e14e0ecf1354292e3076da284b35263d6..0f89df82db46247d9e8eb48497200936b028725a 100644 (file)
@@ -10,7 +10,7 @@ LIBVIRTD_TIMEOUT=${LIBVIRTD_TERMTIMEOUT:-"TERM/25/KILL/5"}
 command="/usr/sbin/libvirtd"
 command_args="-d ${LIBVIRTD_OPTS}"
 start_stop_daemon_args="--env KRB5_KTNAME=/etc/libvirt/krb5.tab"
-pidfile="/var/run/libvirtd.pid"
+pidfile="/run/libvirtd.pid"
 retry="${LIBVIRTD_TERMTIMEOUT}"
 
 depend() {
index e7c3db2990e9eba45f02157921cda1dc71a42adf..1e812d870c194cd154b0b7996be2d0982f7ec03a 100644 (file)
@@ -1,11 +1,11 @@
 #!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 description="libvirt virtual machine lock manager"
 command="/usr/sbin/virtlockd"
 command_args="-d"
-pidfile="/var/run/virtlockd.pid"
+pidfile="/run/virtlockd.pid"
 
 extra_started_commands="reload"
 description_reload="re-exec the daemon, while maintaining locks and clients"
index 438070e344db8ede9af74673ce6e9cb3b8bcfbc1..ff9c2446e8c3efb8a08126e1e333daae00ff2be0 100644 (file)
@@ -1,11 +1,11 @@
 #!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 description="libvirt virtual machine logging manager"
 command="/usr/sbin/virtlogd"
 command_args="-d"
-pidfile="/var/run/virtlogd.pid"
+pidfile="/run/virtlogd.pid"
 
 extra_started_commands="reload"
 description_reload="re-exec the daemon, while maintaining open connections"