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. There are no other interfaces. As I mentioned before, this is a very simple, "cattle" machine set up via unattended kickstart. And I'd much rather *not* have to turn it into a fragile, high-maintenance "pet"... With systemd-networkd-wait-online.service enabled, systemd-networkd.service itself ends up active/running happily, but systemd-networkd-wait-online.service fails with: systemd-networkd-wait-online[550]: Timeout occurred while waiting for network connectivity. Unless there's anything glaringly obvious that I'm too silly to notice (in which case a swift kick in the ribs would be much appreciated), I'll most likely move this conversation to the systemd mailing list, and (in parallel) ask the sendmail maintainers if there's anything that can be done on that front, orthogonally to this... I honestly didn't expect my use case to be *that* far off the beaten path, yet here we are... :P Thanks again to everyone involved, --Gabriel -- _______________________________________________ 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