mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-03 02:15:23 +00:00
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 (cherry picked from commit f496ce1df35df7498bd3d9d7e113bb2eb3e51ba9)
This commit is contained in:
parent
d4f8a0e0cd
commit
7627dcdc7d
@ -2,7 +2,6 @@
|
|||||||
Description=Virtual machine log manager
|
Description=Virtual machine log manager
|
||||||
Requires=virtlogd.socket
|
Requires=virtlogd.socket
|
||||||
Before=libvirtd.service
|
Before=libvirtd.service
|
||||||
PartOf=libvirtd.service
|
|
||||||
Documentation=man:virtlogd(8)
|
Documentation=man:virtlogd(8)
|
||||||
Documentation=http://libvirt.org
|
Documentation=http://libvirt.org
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Virtual machine log manager socket
|
Description=Virtual machine log manager socket
|
||||||
Before=libvirtd.service
|
Before=libvirtd.service
|
||||||
PartOf=libvirtd.service
|
|
||||||
|
|
||||||
[Socket]
|
[Socket]
|
||||||
ListenStream=@localstatedir@/run/libvirt/virtlogd-sock
|
ListenStream=@localstatedir@/run/libvirt/virtlogd-sock
|
||||||
|
Loading…
x
Reference in New Issue
Block a user