Blame SOURCES/0030-systemd-Remove-unneded-virtio-port-dependencies.patch

b156de
From f3f132795fbbcbd890e30d98d1d3cfe2f7870347 Mon Sep 17 00:00:00 2001
b156de
From: Christophe Fergeau <cfergeau@redhat.com>
b156de
Date: Tue, 18 Dec 2018 13:46:01 +0100
b156de
Subject: [PATCH] systemd: Remove unneded virtio-port dependencies
b156de
b156de
The udev rule already adds SYSTEMD_WANTS=spice-vdagentd.socket
b156de
to the relevant virtio devices, which automatically adds Wants=${device}
b156de
to spice-vdagentd.socket (see 'systemctl show spice-vdagentd.socket').
b156de
Adding a Requisite/After for these ports is at best redundant, and most
b156de
likely wrong as this is causing boot time 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 b07420eea0aaba1b9a375eac03c1dbb565287f11)
b156de
b156de
Note:
b156de
- Conflict due not having commit below. As this patch removes that,
b156de
  not worth to backport it.
b156de
b156de
    102b2e7 systemd: use "After" with "Requisite"
b156de
---
b156de
 data/spice-vdagentd.socket | 2 --
b156de
 1 file changed, 2 deletions(-)
b156de
b156de
diff --git a/data/spice-vdagentd.socket b/data/spice-vdagentd.socket
b156de
index e34a188..f14e662 100644
b156de
--- a/data/spice-vdagentd.socket
b156de
+++ b/data/spice-vdagentd.socket
b156de
@@ -1,7 +1,5 @@
b156de
 [Unit]
b156de
 Description=Activation socket for spice guest agent daemon
b156de
-# only start the socket if the virtio port device exists
b156de
-Requisite=dev-virtio\x2dports-com.redhat.spice.0.device
b156de
 
b156de
 [Socket]
b156de
 ListenStream=/var/run/spice-vdagentd/spice-vdagent-sock
b156de
-- 
b156de
2.20.1
b156de