On 1/20/22 19:43, Thomas Cameron wrote:
On 1/20/22 19:40, Tom Horsley wrote:
I never once had that happen. And I installed hundreds of virtual
machines
with different releases for different distros for testing at work.
It has worked this way for YEARS. Is your environment set up with
working forward and reverse DNS?
I just tested it again with F35 and it got the correct hostname from
reverse DNS *unitl* the first time someone logs in. Then it sets the
hostname to "fedora" based on the lines in /etc/profile:
HOSTNAME=$(/usr/bin/hostnamectl --transient 2>/dev/null) || \
HOSTNAME=$(/usr/bin/hostname 2>/dev/null) || \
HOSTNAME=$(/usr/bin/uname -n)
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE HISTCONTROL
I made a quick video of the difference between F35 and RHEL 8.5.
https://youtu.be/KuvqInOg1u8
Skip to about the 1:30 mark to see the difference between F35 and RHEL
8.5. I've seen the hostname assigned by reverse DNS with every version
of RHEL since at least RHEL 4. In fact, I don't recall it working
otherwise ever.
Thomas
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-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/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure