Blame SOURCES/0007-srp_daemon-srp_daemon.service-should-be-started-afte.patch

6698ac
From 141910626b7601c4d697274ea49e951584ae24a5 Mon Sep 17 00:00:00 2001
6698ac
From: Honggang Li <honli@redhat.com>
6698ac
Date: Fri, 29 Dec 2017 17:21:52 +0800
6698ac
Subject: [PATCH] srp_daemon: srp_daemon.service should be started after
6698ac
 network.target
6698ac
6698ac
This is a rhel-7.5 specific workaround as rhel-7.5 is using
6698ac
systemd-219.
6698ac
6698ac
The srp_daemon service will be started at the very beginning state
6698ac
of systemd when boot/reboot the machine, in case srp_daemon.service
6698ac
is not after network.target. As result, the srp_daemon.service will
6698ac
be terminated because of SERVICE_FAILURE_RESOURCES.
6698ac
6698ac
Fixes: 1c7fe513e3e9 ("srp_daemon: One systemd service per port")
6698ac
Signed-off-by: Honggang Li <honli@redhat.com>
6698ac
---
6698ac
 srp_daemon/srp_daemon.service.in | 1 +
6698ac
 1 file changed, 1 insertion(+)
6698ac
6698ac
diff --git a/srp_daemon/srp_daemon.service.in b/srp_daemon/srp_daemon.service.in
6698ac
index 188b7e1a..93e44425 100644
6698ac
--- a/srp_daemon/srp_daemon.service.in
6698ac
+++ b/srp_daemon/srp_daemon.service.in
6698ac
@@ -3,6 +3,7 @@ Description=Daemon that discovers and logs in to SRP target systems
6698ac
 Documentation=man:srp_daemon file:/etc/srp_daemon.conf
6698ac
 DefaultDependencies=false
6698ac
 Conflicts=emergency.target emergency.service
6698ac
+After=network.target
6698ac
 Before=remote-fs-pre.target
6698ac
 
6698ac
 [Service]
6698ac
-- 
6698ac
2.15.GIT
6698ac