Source: libvirt
Version: 3.1.0-1~1.gbp9a8156
Severity: minor
Tags: patch

In the unlikely case of not using systemd, the virtlockd init script template is
not Debianized to source from /etc/default. The attached patch would do this.

-Stefan
>From 945058cd6ef20197f325e01b2668fe87589b2bee Mon Sep 17 00:00:00 2001
From: Stefan Bader <[email protected]>
Date: Wed, 10 May 2017 16:47:10 +0200
Subject: [PATCH] Debianize virtlockd sysvinit script

Also use Debianized path for the environment file in the sysvinit
script of virtlockd. For the theoretical case of not using systemd.

Signed-off-by: Stefan Bader <[email protected]>
---
 src/locking/virtlockd.init.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/locking/virtlockd.init.in b/src/locking/virtlockd.init.in
index 0bf868c..ea8bb6c 100644
--- a/src/locking/virtlockd.init.in
+++ b/src/locking/virtlockd.init.in
@@ -37,7 +37,7 @@ PIDFILE=@localstatedir@/run/$SERVICE.pid
 
 VIRTLOCKD_ARGS=
 
-test -f @sysconfdir@/sysconfig/virtlockd && . @sysconfdir@/sysconfig/virtlockd
+test -f @sysconfdir@/default/virtlockd && . @sysconfdir@/default/virtlockd
 
 RETVAL=0
 
-- 
2.7.4

Reply via email to