# idmapd - NFSv4 id <-> name mapper # rpc.idmapd is the NFSv4 ID <-> name mapping daemon. It provides # functionality to the NFSv4 kernel client and server, to which it # communicates via upcalls, by translating user and group IDs to names, and # vice versa. description "NFSv4 id <-> name mapper" author "Steve Langasek " start on (local-filesystems or mounting TYPE=nfs4) stop on runlevel [06] expect fork respawn env DEFAULTFILE=/etc/default/nfs-common env PIPEFS_MOUNTPOINT=/var/lib/nfs/rpc_pipefs pre-start script do_modprobe() { modprobe -q "$1" || true } if [ -f "$DEFAULTFILE" ]; then . "$DEFAULTFILE" fi # # Parse the fstab file, and determine whether we need idmapd. (The # /etc/defaults settings, if any, will override our autodetection.) # This code is partially adapted from the mountnfs.sh script in the # sysvinit package. if [ -f /etc/fstab ]; then exec 9<&0