Re: f42: hostname vs. sendmail (vs. systemd depsolver) bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 22 Apr 2025 15:42:17 +0200, mzerqung@xxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux