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: Mon, 1 Jan 2018 12:19:50 -0700 [thread overview]
Message-ID: <20180101191950.GB10145@ziepe.ca> (raw)
In-Reply-To: <20171230135927.GA23643-Y5OA6DF/u0nid9cnFhDO8BcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
On Sat, Dec 30, 2017 at 09:59:27PM +0800, Honggang LI wrote:
> On Fri, Dec 29, 2017 at 11:00:58AM -0700, Jason Gunthorpe wrote:
> > 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.
>
> To reproduce it, you just need enable srp_daemon.serice and then reboot
> the machine. Watch the serial console when you are waiting for machine
> boot up. Please see attached /var/log/boot.log for details. After system
> boot up, check the status of srp_daemon.serice.
Well, I did this sort of testing when I originally set stuff up with
no problem. But I used Ubuntu Xenial with a newer systemd
So we need to find a root cause before we can evalute this as the
right solution..
> > 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.
>
> Yes, it is systemd-219-51.el7.x86_64 error code.
>
> > Is this because of PrivateNetwork=yes or something similar?
>
> How to test or verify this?
Remove all the sandboxing thing and see if it starts working.
Add them back in until you find the one that breaks it.
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
next prev parent reply other threads:[~2018-01-01 19:19 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
[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 [this message]
[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=20180101191950.GB10145@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