On Mi, 23.04.25 17:08, Gabriel L. Somlo (gso...@gmail.com) wrote: > On Wed, 23 Apr 2025 17:26:42 +0000, gary.buhrmas...@gmail.com wrote: > > On Wed, Apr 23, 2025 at 12:13 PM Gabriel L. Somlo <gso...@gmail.com> wrote: > > > > > This *sort-of* worked: systemd-networkd-wait-online took about two > > > minutes before it failed with a timeout. However, that was long enough > > > to hold back network-online.target, and by extension sendmail.service, > > > so that the latter found the transient hostname already configured... > > > > As Lennart indicated, you may need to > > properly configure your interfaces > > (especially if you have multiple) to > > indicate whether they are required > > for online status. For a number of > > my existing (but inactive) interfaces > > I ended up adding: > > > > Unmanaged=yes > > RequiredForOnline=no > > > > for my use cases (obviously your > > use cases will be different). > > I have a single physical network interface (and a loopback): > > root@fedora:~# networkctl > IDX LINK TYPE OPERATIONAL SETUP > 1 lo loopback carrier unmanaged > 2 enp2s0 ether routable unmanaged > 2 links listed.
That shows that from systemd-networkd's perspective those interfaces are unmanaged, i.e. probably managed by something else, and my educated guess would be NetworkManager. Hence it's really pointless to enable systemd-networkd-wait-online, it's never gonna work if you use a different network management solution. Hence, you have to look at NetworkManager's wait-online tool, and figure out if and how to configure it, but that's something to ask the NM community about/look at their docs for, I cannot help with that. Lennart -- Lennart Poettering, Berlin -- _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue