Bug 1313721
Summary: | nfs-idmapd.service contains dependency on nfs-server.service on nfs client as well. The only service required at client end is nfs-idmapd. Looking at the /usr/lib/systemd/system/nfs-idmapd.service, it shows that it is binded to nfs-server.service. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Ashima Rawat <arawat> |
Component: | nfs-utils | Assignee: | Steve Dickson <steved> |
Status: | CLOSED DUPLICATE | QA Contact: | Filesystem QE <fs-qe> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.2 | CC: | amote, harshula, steved |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-04-26 17:11:29 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ashima Rawat
2016-03-02 09:50:09 UTC
Hi, Could you please let me know if there is anything being planned to fix this bug and if yes in which release ? Thanks Ashima My understanding is that we've moved to using nfsidmap on the NFS client instead of rpc.idmapd. (In reply to Harshula Jayasuriya from comment #3) > My understanding is that we've moved to using nfsidmap on the NFS client > instead of rpc.idmapd. This is true... the client kernel does use an upcall to nfsidmap to resolve id/gid for v4.X.... Why is restarting of rpc.idmapd evening happening? In Red Hat Enterprise Linux 7, only the NFSv4 server uses rpc.idmapd. The NFSv4 client uses the keyring-based idmapper nfsidmap. nfsidmap is a stand-alone program that is called by the kernel on-demand to perform ID mapping; it is not a daemon. If there is a problem with nfsidmap does the client fall back to using rpc.idmapd. More information regarding nfsidmap can be found on the nfsidmap man page. https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Storage_Administration_Guide/ch-nfs.html http://man7.org/linux/man-pages/man5/nfsidmap.5.html Hi, In addition to my previous comment did some testing and below are the results: Example : -rw-r--r--. 1 nobody nobody 102400 Dec 22 12:00 test48 -rw-r--r--. 1 nobody nobody 102400 Dec 22 12:00 test49 -rw-r--r--. 1 nobody nobody 102400 Dec 22 12:00 test5 -rw-r--r--. 1 nobody nobody 102400 Dec 22 12:00 test50 -rw-r--r--. 1 nobody nobody 102400 Dec 22 12:00 test6 -rw-r--r--. 1 nobody nobody 102400 Dec 22 12:00 test7 -rw-r--r--. 1 nobody nobody 102400 Dec 22 12:00 test8 -rw-r--r--. 1 nobody nobody 102400 Dec 22 12:00 test9 -rw-r--r--. 1 nobody nobody 399 Jan 31 13:43 test.c [root@arawat72 mnt]# vi /etc/idmapd.conf <---- Added domain here [root@arawat72 mnt]# nfsidmap -c [root@arawat72 mnt]# ls -l total 5248 -rw-------. 1 testuser tstgrp 6144 Dec 23 13:36 aquota.group -rw-------. 1 testuser tstgrp 6144 Dec 23 13:36 aquota.user -rw-r--r--. 1 testuser tstgrp 51 Dec 22 12:09 example1 drwx------. 2 nobody nobody 16384 Dec 22 11:51 lost+found -rwxr-xr-x. 1 testuser tstgrp 6986 Jan 31 13:44 test -rw-r--r--. 1 testuser tstgrp 102400 Dec 22 12:00 test1 -rw-r--r--. 1 testuser tstgrp 102400 Dec 22 12:00 test10 *** This bug has been marked as a duplicate of bug 1277801 *** |