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.