render / rpms / libvirt

Forked from rpms/libvirt 10 months ago
Clone
6ae9ed
From 373101d52e752c469d2472e860fd45d826a5e333 Mon Sep 17 00:00:00 2001
6ae9ed
Message-Id: <373101d52e752c469d2472e860fd45d826a5e333@dist-git>
6ae9ed
From: Andrea Bolognani <abologna@redhat.com>
6ae9ed
Date: Tue, 20 Sep 2016 16:23:07 +0200
6ae9ed
Subject: [PATCH] virtlogd: Don't stop or restart along with libvirtd
6ae9ed
6ae9ed
Commit 839a060 tied the lifecycle of virtlogd more
6ae9ed
closely to that of libvirtd. Unfortunately, while starting
6ae9ed
virtlogd when libvirtd is started is definitely a good idea,
6ae9ed
restarting virtlogd or shutting it down at any time outside
6ae9ed
of system poweroff is not.
6ae9ed
6ae9ed
Revert part of that commit by removing the PartOf= lines,
6ae9ed
meaning that only startup requests will be propagated from
6ae9ed
libvirtd to virtlogd.
6ae9ed
6ae9ed
Resolves: https://bugzilla.redhat.com/1372576
6ae9ed
6ae9ed
(cherry picked from commit f496ce1df35df7498bd3d9d7e113bb2eb3e51ba9)
6ae9ed
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
6ae9ed
---
6ae9ed
 src/logging/virtlogd.service.in | 1 -
6ae9ed
 src/logging/virtlogd.socket.in  | 1 -
6ae9ed
 2 files changed, 2 deletions(-)
6ae9ed
6ae9ed
diff --git a/src/logging/virtlogd.service.in b/src/logging/virtlogd.service.in
6ae9ed
index 8287994..09e0740 100644
6ae9ed
--- a/src/logging/virtlogd.service.in
6ae9ed
+++ b/src/logging/virtlogd.service.in
6ae9ed
@@ -2,7 +2,6 @@
6ae9ed
 Description=Virtual machine log manager
6ae9ed
 Requires=virtlogd.socket
6ae9ed
 Before=libvirtd.service
6ae9ed
-PartOf=libvirtd.service
6ae9ed
 Documentation=man:virtlogd(8)
6ae9ed
 Documentation=http://libvirt.org
6ae9ed
 
6ae9ed
diff --git a/src/logging/virtlogd.socket.in b/src/logging/virtlogd.socket.in
6ae9ed
index efb6504..22b9360 100644
6ae9ed
--- a/src/logging/virtlogd.socket.in
6ae9ed
+++ b/src/logging/virtlogd.socket.in
6ae9ed
@@ -1,7 +1,6 @@
6ae9ed
 [Unit]
6ae9ed
 Description=Virtual machine log manager socket
6ae9ed
 Before=libvirtd.service
6ae9ed
-PartOf=libvirtd.service
6ae9ed
 
6ae9ed
 [Socket]
6ae9ed
 ListenStream=@localstatedir@/run/libvirt/virtlogd-sock
6ae9ed
-- 
6ae9ed
2.10.0
6ae9ed