On 1/28/22 1:03 AM, Ed Greshko wrote:
On 26/01/2022 00:35, Robert Nichols wrote:
In a Fedora 35 VM, all users and groups in an NFS mounted filesystem are mapped to
"nobody" even though the names and numeric IDs are the same on the server and
client. The messages logged are of the form:
"name 'xxxx@local' does not map into domain 'localdomain'"
I have no nfs-idmapd service running. This same setup is running fine on a
CentOS 8 VM. I didn't have to do anything special to make this work in CentOS
8. What am I missing here in a Fedora 35 installed with default configuration
in a QEMU/KVM virtual machine?
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.
What do you get when you type "hostnamectl"?
On one of my VM's
[egreshko@f35ser ~]$ hostname --fqdn
f35ser.greshko.com
[egreshko@f35ser ~]$ hostnamectl
Static hostname: f35ser.greshko.com
Icon name: computer-vm
Chassis: vm
Machine ID: c4783bc505a24a9f973009568932bd82
Boot ID: a98191139f9c4d659faa48e5803d923b
Virtualization: kvm
Operating System: Fedora Linux 35 (Server Edition)
CPE OS Name: cpe:/o:fedoraproject:fedora:35
Kernel: Linux 5.15.15-200.fc35.x86_64
Architecture: x86-64
Hardware Vendor: QEMU
Hardware Model: Standard PC _Q35 + ICH9, 2009
fedora ~]# hostname --fqdn
fedora
[fedora ~]# domainname
(none)
[fedora ~]# hostnamectl
Static hostname: fedora
Icon name: computer-vm
Chassis: vm
Machine ID: 6e701e7fa0dc4996984b6509b40eb940
Boot ID: 5499ef393bd04028a0e92a6d70f3c6a9
Virtualization: kvm
Operating System: Fedora Linux 35 (Workstation Edition)
CPE OS Name: cpe:/o:fedoraproject:fedora:35
Kernel: Linux 5.15.16-200.fc35.x86_64
Architecture: x86-64
Hardware Vendor: Red Hat
Hardware Model: KVM
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.
--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-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/users@lists.fedoraproject.org
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure