[Spice-devel] [vdagent-linux v2 2/2] systemd: Remove WantedBy=sockets.service in [Install]
Christophe Fergeau
cfergeau at redhat.com
Wed Dec 19 14:31:46 UTC 2018
.socket systemd units already automatically get a
Before=sockets.service, and the udev rule we have will ensure that when
the appropriate virtio device is there, the socket unit will be started,
so this WantedBy dependency is not needed, and is in part responsible
for these warnings:
[ INFO ] dev-virtio\x2dports-com.redhat.spice.0.device is not active.
[DEPEND] Dependency failed for Activation socket for spice guest agent daemon.
https://bugzilla.redhat.com/show_bug.cgi?id=1545212
Signed-off-by: Christophe Fergeau <cfergeau at redhat.com>
---
New patch following initial discussion
data/spice-vdagentd.socket | 3 ---
1 file changed, 3 deletions(-)
diff --git a/data/spice-vdagentd.socket b/data/spice-vdagentd.socket
index f14e662..adace91 100644
--- a/data/spice-vdagentd.socket
+++ b/data/spice-vdagentd.socket
@@ -3,6 +3,3 @@ Description=Activation socket for spice guest agent daemon
[Socket]
ListenStream=/var/run/spice-vdagentd/spice-vdagent-sock
-
-[Install]
-WantedBy=sockets.target
--
2.19.2
More information about the Spice-devel
mailing list