Idmapd refuses to start

Quentin Godfroy godfroy at clipper.ens.fr
Tue Oct 30 17:00:35 EDT 2007


Hi,

on a linux 2.6.22.6 acting as client, with nfs-utils 1:1.1.1, the idmapd
daemon refuses to start even if nfsv4 client is compiled in the kernel, the
exact same idmapd.conf works on the serevr box, and of course 
/var/lib/nfs/rpc_pipefs is mounted according to /proc/mounts.

The error reported in the syslog is :

rpc.idmapd[2011]: main: fcntl(/var/lib/nfs/rpc_pipefs/nfs): Invalid argument

a strace indicates that the offending fnctl should be

open("/var/lib/nfs/rpc_pipefs/nfs", O_RDONLY) = 7
fcntl64(7, F_SETSIG, 0xa)               = 0
fcntl64(7, 0x402 /* F_??? */, 0x8000000e) = -1 EINVAL (Invalid argument)


Here is an exerpt from the relevant parts (I suppose) of the kernel config

#
# Network File Systems
#
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
# CONFIG_NFS_DIRECTIO is not set
# CONFIG_NFSD is not set
CONFIG_ROOT_NFS=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y
CONFIG_SUNRPC_BIND34=y
CONFIG_RPCSEC_GSS_KRB5=y
CONFIG_RPCSEC_GSS_SPKM3=y
CONFIG_SMB_FS=m
# CONFIG_SMB_NLS_DEFAULT is not set
CONFIG_CIFS=m
CONFIG_CIFS_STATS=y
CONFIG_CIFS_STATS2=y
CONFIG_CIFS_WEAK_PW_HASH=y
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_CIFS_EXPERIMENTAL is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
# CONFIG_9P_FS is not set

Cheers,

QUentin Godfroy


More information about the NFSv4 mailing list