]> xenbits.xensource.com Git - libvirt.git/commitdiff
virtlogd: Don't stop or restart along with libvirtd
authorAndrea Bolognani <abologna@redhat.com>
Tue, 20 Sep 2016 13:22:04 +0000 (15:22 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 20 Sep 2016 13:22:04 +0000 (15:22 +0200)
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

src/logging/virtlogd.service.in
src/logging/virtlogd.socket.in

index 82879941eff9a7941c8e6bd689b0b4e35ed5f9e9..09e07401499747f32f96a86444a5c338960f5d40 100644 (file)
@@ -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
 
index efb6504f7a5693e602d864c83a0223d23acc2bab..22b9360c8dcf5f336fd1deee2a43098ded1bceea 100644 (file)
@@ -1,7 +1,6 @@
 [Unit]
 Description=Virtual machine log manager socket
 Before=libvirtd.service
-PartOf=libvirtd.service
 
 [Socket]
 ListenStream=@localstatedir@/run/libvirt/virtlogd-sock