Blame SOURCES/0031-systemd-Remove-WantedBy-sockets.service-in-Install.patch

a547b4
From be443adb0f0f22025dbbfba15189a186dbc7cdc3 Mon Sep 17 00:00:00 2001
a547b4
From: Christophe Fergeau <cfergeau@redhat.com>
a547b4
Date: Wed, 19 Dec 2018 15:28:31 +0100
a547b4
Subject: [PATCH] systemd: Remove WantedBy=sockets.service in [Install]
a547b4
a547b4
.socket systemd units already automatically get a
a547b4
Before=sockets.service, and the udev rule we have will ensure that when
a547b4
the appropriate virtio device is there, the socket unit will be started,
a547b4
so this WantedBy dependency is not needed, and is in part responsible
a547b4
for these warnings:
a547b4
a547b4
[ INFO ] dev-virtio\x2dports-com.redhat.spice.0.device is not active.
a547b4
[DEPEND] Dependency failed for Activation socket for spice guest agent daemon.
a547b4
a547b4
https://bugzilla.redhat.com/show_bug.cgi?id=1545212
a547b4
a547b4
Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
a547b4
(cherry picked from commit 56d50d21223e6d9aec4a68400d8e36c5953ba3cc)
a547b4
---
a547b4
 data/spice-vdagentd.socket | 3 ---
a547b4
 1 file changed, 3 deletions(-)
a547b4
a547b4
diff --git a/data/spice-vdagentd.socket b/data/spice-vdagentd.socket
a547b4
index f14e662..adace91 100644
a547b4
--- a/data/spice-vdagentd.socket
a547b4
+++ b/data/spice-vdagentd.socket
a547b4
@@ -3,6 +3,3 @@ Description=Activation socket for spice guest agent daemon
a547b4
 
a547b4
 [Socket]
a547b4
 ListenStream=/var/run/spice-vdagentd/spice-vdagent-sock
a547b4
-
a547b4
-[Install]
a547b4
-WantedBy=sockets.target
a547b4
-- 
a547b4
2.20.1
a547b4