<div dir="ltr">Hi Lennart,<div><br></div><div>I've filedĀ <a href="https://github.com/systemd/systemd/issues/7877">https://github.com/systemd/systemd/issues/7877</a> for this. Thanks for explain the reason of not document this in the first place.</div><div><br></div><div>John Lin</div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-01-13 0:41 GMT+08:00 Lennart Poettering <span dir="ltr"><<a href="mailto:lennart@poettering.net" target="_blank">lennart@poettering.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Do, 11.01.18 17:52, Uoti Urpala (<a href="mailto:uoti.urpala@pp1.inet.fi">uoti.urpala@pp1.inet.fi</a>) wrote:<br>
<br>
> At boot, both would be started as part of the same transaction (same<br>
> would happen here if you started a third.service that depended on both<br>
> first.service and second.service, then second.service would always<br>
> wait). Here second.service is just started individually, and systemd<br>
> has no idea at that time that first.service is going to be running at<br>
> all. Given that, it really can't behave any differently (it can't delay<br>
> the start of second.service to wait for first.service, when as far as<br>
> it knows first.service may well never get started at all!). It's only<br>
> after second.service is already running that it sees that first.service<br>
> will be started, and at that point it's too late to make second.service<br>
> wait. There really is nothing the init portion could do differently<br>
> given the semantics of bare "After" (the behavior could be changed in<br>
> the systemctl binary).<br>
<br>
</span>Yupp, this is exactly what happens.<br>
<br>
That said, we should probably make the<br>
multiple-operations-in-a-<wbr>single-transaction thing happen.<br>
<span class="im HOEnZb"><br>
Lennart<br>
<br>
--<br>
Lennart Poettering, Red Hat<br>
</span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/systemd-devel</a><br>
</div></div></blockquote></div><br></div>