<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Nov 26, 2017 at 11:47 AM, Bao Nguyen <span dir="ltr"><<a href="mailto:baondt@gmail.com" target="_blank">baondt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Uoti,<div><br></div><div>Thanks a lot for your answer, I have checked the cycle. It is created by <span style="color:rgb(80,0,80);font-size:12.8px">sockets.target -> </span><span style="color:rgb(80,0,80);font-size:12.8px">asi-My-5101.socket -> </span><span style="color:rgb(80,0,80);font-size:12.8px">My-sshd.target -> </span><span style="color:rgb(80,0,80);font-size:12.8px">My-syncd.service -> </span><span style="color:rgb(80,0,80);font-size:12.8px">My-nfs-client.service -> </span><span style="color:rgb(80,0,80);font-size:12.8px">My-handling.service -> basic.target -> sockets.target. </span>I do not see the same cycle in systemd-210 so I said that there is maybe a change in systemd-210 and sytemd-228 like building dependency tree and handling cycle. I can confirm there is no change in my scripts.</div></div></blockquote><div><br></div><div>Could you please show the full (not paraphrased) dependencies that you have? that is, [Unit] sections, *.wants/ contents, and such<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Regard to your question, <span style="font-size:12.8px">"asi-My-5101.socket" depends on "My-sshd.target", I think that in my case it is expected as my socket listens on a specific address IP:port so it should start after a network service to configure and assign IP address before my socket runs.</span></div></div></blockquote><div><br></div><div>"My-sshd.target" does not sound like a network service.</div><div><br></div><div>In any case, just use FreeBind=true instead.<br></div></div><br>-- <br><div class="m_7909864370995985392gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mantas Mikulėnas <<a href="mailto:grawity@gmail.com" target="_blank">grawity@gmail.com</a>></div></div>
</div></div>