Is there anywhere documentation outlining the decision to remove a separate nfs-idmap.service from F17? It seems that nfs-server.service must be enabled and started in order for rpc.idmapd. It doesn't seem logical that a system running a NFS Client Only should be required to also run an NFS server.
On Thu, 2012-04-26 at 07:49 +0800, Ed Greshko wrote:
Is there anywhere documentation outlining the decision to remove a separate nfs-idmap.service from F17? It seems that nfs-server.service must be enabled and started in order for rpc.idmapd. It doesn't seem logical that a system running a NFS Client Only should be required to also run an NFS server.
The changelog message reads:
"Removed the nfs-idmap service. rpc.idmap is now part of the nfs-server service"
Steve, can you elaborate? Do pure clients never need idmap?
On 04/26/2012 07:31 PM, Adam Williamson wrote:
On Thu, 2012-04-26 at 07:49 +0800, Ed Greshko wrote:
Is there anywhere documentation outlining the decision to remove a separate nfs-idmap.service from F17? It seems that nfs-server.service must be enabled and started in order for rpc.idmapd. It doesn't seem logical that a system running a NFS Client Only should be required to also run an NFS server.
The changelog message reads:
"Removed the nfs-idmap service. rpc.idmap is now part of the nfs-server service"
Steve, can you elaborate? Do pure clients never need idmap?
Sure they do, if they want uid/gid mapped properly.....
Here is the output from an F16 system showing the effect....
First I mount with no rpc.idmap service running....
[root@f16-1 ~]# mount -t nfs4 192.168.0.55:/syntegra /syntegra [root@f16-1 ~]# ll /syntegra/ total 40 drwxrwxr-x. 3 4294967294 4294967294 4096 Mar 24 2010 HP-Pavilion drwxr-xr-x. 9 4294967294 4294967294 4096 Nov 30 10:21 iso drwxrwxr-x. 7 4294967294 4294967294 4096 Nov 30 10:34 linux-releases drwx------. 2 4294967294 4294967294 16384 Apr 1 2007 lost+found
And...then....
[root@f16-1 ~]# umount /syntegra [root@f16-1 ~]# systemctl start nfs-idmap.service [root@f16-1 ~]# mount -t nfs4 192.168.0.55:/syntegra /syntegra [root@f16-1 ~]# ll /syntegra/ total 40 drwxrwxr-x. 3 egreshko egreshko 4096 Mar 24 2010 HP-Pavilion drwxr-xr-x. 9 egreshko egreshko 4096 Nov 30 10:21 iso drwxrwxr-x. 7 egreshko egreshko 4096 Nov 30 10:34 linux-releases drwx------. 2 root root 16384 Apr 1 2007 lost+found
Notice the difference?
On 04/26/2012 08:06 PM, Ed Greshko wrote:
Notice the difference?
Also, notice no nfsd is running....just like I want. Don't want to run any unnecessary services...
[root@f16-1 ~]# ps -eaf | grep nfs root 1509 2 0 20:02 ? 00:00:00 [nfsiod] root 1524 2 0 20:03 ? 00:00:00 [nfsv4.0-svc] root 1531 1440 0 20:09 pts/0 00:00:00 grep --color=auto nfs
[root@f16-1 ~]# lsmod | grep nfs nfs 343930 1 lockd 73543 1 nfs fscache 48597 1 nfs auth_rpcgss 38459 1 nfs nfs_acl 12653 1 nfs sunrpc 196934 11 nfs,lockd,auth_rpcgss,nfs_acl