On 1/28/22 06:08, Robert Nichols wrote:
Where does Fedora get its domain name? When I type "hostname --fqdn"
I get "hostname: Name or service not known". The CentOS 8 VM
apparently gets its domain name from the /etc/hostname file, which
contains "cent9-vm.local". This does not appear to work in Fedora 35.
If I put a fqdn in /etc/hostname, that will show up as the static
hostname, but "domainname" still returns "(none)" and everything else
is the same.
Set the system hostname using "hostnamectl hostname <static>.local".
Once you do, hostnamectl, domainname and most importantly "nfsidmap -d"
should all output the expected domain. In the latter case, that will be
"local", and at that point NFS4 should map names correctly.
_______________________________________________
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