nfs-idmap.service removed

Ed Greshko Ed.Greshko at greshko.com
Thu Apr 26 12:06:20 UTC 2012


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 at f16-1 ~]# mount -t nfs4 192.168.0.55:/syntegra /syntegra
[root at 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 at f16-1 ~]# umount /syntegra
[root at f16-1 ~]# systemctl start nfs-idmap.service
[root at f16-1 ~]# mount -t nfs4 192.168.0.55:/syntegra /syntegra
[root at 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?


-- 
Never be afraid to laugh at yourself, after all, you could be missing out on the joke
of the century. -- Dame Edna Everage


More information about the test mailing list