On 1/29/22 20:36, Robert Nichols wrote:
If I could find any way to set the client's domain name, I would. Nothing I try has any effect on the domain name. When I try to set a FQDN with hostnamectl, then "hostnamectl" (with no arguments) shows that FQDN as the static hostname, but "hostname --fqdn" responds with "hostname: Name or service not known", and "mount -t nfs ..." causes the various "... does not map into domain 'localdomain'" messages to be logged.


I *think* the "name or service not known" message means that the hostname you've set isn't in /etc/hosts, which is the normal config.  That doesn't mean your domain name isn't being set.

I also think that your client's domain name is "local", while your NFS server's domain name is "localdomain", and you've enabled mapping, which is why everything is mapped to "nobody".

So, you've got several problems that aren't necessarily related, and aren't influencing the other.

In any case, you should be checking the output of "nfsidmap -d", not "hostname --fqdn".


On the server:
[plugh-3g ~]# cat /sys/module/nfsd/parameters/nfs4_disable_idmapping
N


I believe the default is 'Y'.

You should be able to resolve the problem by setting hostnames with matching domains on both systems, or setting a domain name in /etc/idmapd.conf, or disabling idmapping on both server and client.
_______________________________________________
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

Reply via email to