From: Honggang LI <honli-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: bart.vanassche-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org,
honli-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
Subject: [rdma-core patch] srp_daemon: srp_daemon.service should be started after network.target
Date: Fri, 29 Dec 2017 18:10:06 +0800 [thread overview]
Message-ID: <20171229101006.27861-1-honli@redhat.com> (raw)
From: Honggang Li <honli-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
The srp_daemon service will be started at the very beginning state
of systemd when boot/reboot the machine, in case srp_daemon.service
is not after network.target. As result, the srp_daemon.service will
be terminated because of SERVICE_FAILURE_RESOURCES.
Fixes: 1c7fe513e3e9 ("srp_daemon: One systemd service per port")
Signed-off-by: Honggang Li <honli-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
srp_daemon/srp_daemon.service.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/srp_daemon/srp_daemon.service.in b/srp_daemon/srp_daemon.service.in
index 188b7e1a..93e44425 100644
--- a/srp_daemon/srp_daemon.service.in
+++ b/srp_daemon/srp_daemon.service.in
@@ -3,6 +3,7 @@ Description=Daemon that discovers and logs in to SRP target systems
Documentation=man:srp_daemon file:/etc/srp_daemon.conf
DefaultDependencies=false
Conflicts=emergency.target emergency.service
+After=network.target
Before=remote-fs-pre.target
[Service]
--
2.15.GIT
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2017-12-29 10:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-29 10:10 Honggang LI [this message]
[not found] ` <20171229101006.27861-1-honli-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-12-29 18:00 ` [rdma-core patch] srp_daemon: srp_daemon.service should be started after network.target Jason Gunthorpe
[not found] ` <20171229180058.GC6513-uk2M96/98Pc@public.gmane.org>
2017-12-30 13:59 ` Honggang LI
[not found] ` <20171230135927.GA23643-Y5OA6DF/u0nid9cnFhDO8BcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
2018-01-01 19:19 ` Jason Gunthorpe
[not found] ` <20180101191950.GB10145-uk2M96/98Pc@public.gmane.org>
2018-01-02 7:41 ` Honggang LI
[not found] ` <20180102074125.GA24071-Y5OA6DF/u0nid9cnFhDO8BcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
2018-01-02 14:58 ` Jason Gunthorpe
[not found] ` <20180102145808.GC29208-uk2M96/98Pc@public.gmane.org>
2018-01-03 6:54 ` Honggang LI
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171229101006.27861-1-honli@redhat.com \
--to=honli-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=bart.vanassche-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.