> On 21 Apr 2025, at 16:16, Gabriel L. Somlo <gso...@gmail.com> wrote: > > I'm not quite sure if (and how) one could express "whatever's sitting > behind hostnamectl has finally replaced `fedora` with > `foo42.example.com <http://foo42.example.com/>` in the transient hostname > field", to make > sendmail.service wait for (depend on) that trigger...
In cases like this when network on-line is not sufficient I have written a service that waits for the particular event. In your case a service that waits for the hostname to be set would seem to be needed. FYI you might ask the systemd folks if there is a solution that's not been suggested here. Barry
-- _______________________________________________ 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