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

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