Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 71607

Summary: idmapd uses wrong path for rpc_pipefs
Product: Gentoo Linux Reporter: Keith M Wesolowski (RETIRED) <wesolows>
Component: Current packagesAssignee: Network Filesystems <net-fs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Keith M Wesolowski (RETIRED) gentoo-dev 2004-11-17 15:04:38 UTC
idmapd is given the argument -p /var/lib/rpc_pipes, but it expects the path to the NFS-specific subdirectory (i.e. its default is /rpc_pipefs/nfs).  The fix is to replace "-p /var/lib/rpc_pipes" with "-p /var/lib/rpc_pipes/nfs" in /etc/init.d/idmapd.  Without this change, idmapd does not work; an obvious symptom is doing ls -l on an nfs4 directory and seeing:

drwxr-xr-x   2 4294967294 4294967294  512 Apr 24  2004 ariana
drwxr-xr-x  11 4294967294 4294967294 1024 Feb 14  2001 baldo
drwxr-xr-x   2 4294967294 4294967294  512 Mar 29  2004 bazik
...

Note the bogus uid/gid.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2005-03-14 21:43:42 UTC
fixed in nfs-utils-1.0.7-r1