Trying to figure out what component to file this under, or whether I'm
"in luck" and this is already a known problem and I can just add
myself to the cc list... :)

I have a f42 machine with a static DHCP lease and a DNS A record
associated with its statically-leased IP address.

When I boot the machine and immediately log into it via ssh, running
`hostname` will keep returning "fedora" for 5-10 seconds, before
starting to return the FQDN (e.g. "FOO.EXAMPLE.COM") if I keep
retrying the `hostname` command.

In the mean time, `sendmail.service` throws its hands up and enters
"failed" state, complaining about "My unqualified host name (fedora)
unknown; sleeping for retry", then eventually failing with a timeout.

If I then restart `sendmail.service` (via `systemctl restart ...`),
it works fine (now that `hostname` or whatever *it* talks to on the
back end is finally caught up).

I'm wondering what chain of dependencies is being missed, maybe
systemd's `sendmail.service` should wait for whatever provides the
host name (or maybe the latter should be part of whatever target
sendmail.service already depends on, etc.)...

Any advice on how to further debug this, or a BZ ticket ID for the
already known bug would be much appreciated!

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

Reply via email to