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

Dear Maintainer,

while Debianizing the virtlogd system unit, the environment file was left
untouched and still points to /etc/sysconfig. Patch updates the template to use
/etc/default instead.

-Stefan
From bbe1663e10e82d37a79adda6a1f7c68ef7c2fb18 Mon Sep 17 00:00:00 2001
From: Stefan Bader <stefan.ba...@canonical.com>
Date: Wed, 10 May 2017 16:00:35 +0200
Subject: [PATCH] Adapt config file location for Debian

Change /etc/sysconfig into /etc/default for virtlogd.conf as other
patches did for the other daemons.

Signed-off-by: Stefan Bader <stefan.ba...@canonical.com>
---
 src/logging/virtlogd.service.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/logging/virtlogd.service.in b/src/logging/virtlogd.service.in
index 09e0740..87ac468 100644
--- a/src/logging/virtlogd.service.in
+++ b/src/logging/virtlogd.service.in
@@ -6,7 +6,7 @@ Documentation=man:virtlogd(8)
 Documentation=http://libvirt.org
 
 [Service]
-EnvironmentFile=-/etc/sysconfig/virtlogd
+EnvironmentFile=-/etc/default/virtlogd
 ExecStart=@sbindir@/virtlogd $VIRTLOGD_ARGS
 ExecReload=/bin/kill -USR1 $MAINPID
 # Loosing the logs is a really bad thing that will
-- 
2.7.4

Reply via email to