[systemd-devel] Ordering cycle when trying to use BindToDevice socket option

Andrei Borzenkov arvidjaar at gmail.com
Sat Apr 1 05:54:44 UTC 2023


On 01.04.2023 01:12, Dmitri Kourennyi wrote:
> The message seems to imply that systemd-networkd depends on
> sockets.target, which in turn depends on the tinyssh socket, but that in
> turn needs systemd-networkd to run to create the target device. I

Socket units have implicit Before=sockets.target which is ordered early. 
You need to set DefaultDependencies=no to break the loop. You may need 
to add other default dependencies manually, see "man systemd.socket".



More information about the systemd-devel mailing list