public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg-uk2M96/98Pc@public.gmane.org>
To: Honggang LI <honli-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	bart.vanassche-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org
Subject: Re: [rdma-core patch] srp_daemon: srp_daemon.service should be started after network.target
Date: Fri, 29 Dec 2017 11:00:58 -0700	[thread overview]
Message-ID: <20171229180058.GC6513@ziepe.ca> (raw)
In-Reply-To: <20171229101006.27861-1-honli-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

On Fri, Dec 29, 2017 at 06:10:06PM +0800, Honggang LI wrote:
> 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.

How is this possible?  srp_daemon.service just runs a script that
doesn't touch the network.

I can't see any way that srp_daemon.service should have this added,
please explain more what is going on.

I could potentially understand needing it in srp_daemon_port@.service,
but even that needs much more explaination about what exactly is
causing this requirement.

You said SERVICE_FAILURE_RESOURCES which is an internal systemd error
code. Is this because of PrivateNetwork=yes or something similar?

Jason
--
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

  parent reply	other threads:[~2017-12-29 18:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-29 10:10 [rdma-core patch] srp_daemon: srp_daemon.service should be started after network.target Honggang LI
     [not found] ` <20171229101006.27861-1-honli-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-12-29 18:00   ` Jason Gunthorpe [this message]
     [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=20171229180058.GC6513@ziepe.ca \
    --to=jgg-uk2m96/98pc@public.gmane.org \
    --cc=bart.vanassche-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org \
    --cc=honli-H+wXaHxf7aLQT0dZR+AlfA@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox