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

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

 




> On 20 Apr 2025, at 01:44, Gabriel Somlo <gsomlo@xxxxxxxxx> wrote:
> 
> 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.

I wonder if this is user error?

On all my servers I set the FQDN using hostnamctl.

hostnamctl hostname foo.example.com --static

I always see the correct FQDN, and dhcp will allocate the ip address.

Barry

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