From: Andrea Bolognani Date: Tue, 20 Sep 2016 13:22:04 +0000 (+0200) Subject: virtlogd: Don't stop or restart along with libvirtd X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=f496ce1df35df7498bd3d9d7e113bb2eb3e51ba9;p=libvirt.git virtlogd: Don't stop or restart along with libvirtd Commit 839a060 tied the lifecycle of virtlogd more closely to that of libvirtd. Unfortunately, while starting virtlogd when libvirtd is started is definitely a good idea, restarting virtlogd or shutting it down at any time outside of system poweroff is not. Revert part of that commit by removing the PartOf= lines, meaning that only startup requests will be propagated from libvirtd to virtlogd. Resolves: https://bugzilla.redhat.com/1372576 --- diff --git a/src/logging/virtlogd.service.in b/src/logging/virtlogd.service.in index 82879941ef..09e0740149 100644 --- a/src/logging/virtlogd.service.in +++ b/src/logging/virtlogd.service.in @@ -2,7 +2,6 @@ Description=Virtual machine log manager Requires=virtlogd.socket Before=libvirtd.service -PartOf=libvirtd.service Documentation=man:virtlogd(8) Documentation=http://libvirt.org diff --git a/src/logging/virtlogd.socket.in b/src/logging/virtlogd.socket.in index efb6504f7a..22b9360c8d 100644 --- a/src/logging/virtlogd.socket.in +++ b/src/logging/virtlogd.socket.in @@ -1,7 +1,6 @@ [Unit] Description=Virtual machine log manager socket Before=libvirtd.service -PartOf=libvirtd.service [Socket] ListenStream=@localstatedir@/run/libvirt/virtlogd-sock