On Tue, 22 Apr 2025 15:42:17 +0200, mzerq...@0pointer.de wrote: > > Adding `After=networ-online.target` to `sendmail.service` does *not* > > seem to help. Just to be sure, I also tried `s/After=/Requires=/`, > > with the same unsatisfactory result... > > You made a typo there, it's network-online.target, not > networ-online.target.
That was a copy/paste error into email, not what I actually tried :D > This is a generic target though, you need to actually plug something > behind that. With networkd you can do that via "systemctl enable > systemd-networkd-wait-online.service". NM has something similar. 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... systemd-networkd.service is `active`, so I'm somewhat puzzled as to why systemd-networkd-wait-online timed out instead of succeeding. But this is progress, so thank you for the hint! I might still open a bug against sendmail -- since it *claims* to plan on retrying when it logs: fedora sendmail[826]: My unqualified host name (fedora) unknown; sleeping for retry when started up without the above workaround. If it did indeed retry *properly*, none of this would be needed... :) Thanks, --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