On Sun, Apr 20, 2025 at 10:03:50PM +0100, Barry wrote:
> > On 20 Apr 2025, at 18:50, Gabriel L. Somlo <gso...@gmail.com> wrote:
> > 
> > Please keep in mind that this is a "cattle" machine started from an
> > image shared with a bunch of other machines. The only thing
> > distinguishing between them is the static dhcp lease and associated dns
> > name that are stored *externally* to the machine(s).
> 
> In which case I would check that the sendmail service does not start until
> after the network online target. Which I assume will then see the fqdn from
> dhcp.

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...

I'm not quite sure if (and how) one could express "whatever's sitting
behind hostnamectl has finally replaced `fedora` with
`foo42.example.com` in the transient hostname field", to make
sendmail.service wait for (depend on) that trigger...

At the same time, maybe this *is* something I should file against
sendmail -- after all, it does claim to be "sleeping for retry" before
giving up and failing... :)

Thanks,
--G
-- 
_______________________________________________
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

Reply via email to