# gssd - rpcsec_gss daemon # The rpcsec_gss protocol gives a means of using the GSS-API generic security # API to provide security for protocols using RPC (in particular, NFS). description "rpcsec_gss daemon" author "Steve Langasek " start on (started portmap or mounting TYPE=nfs4 OPTIONS=*sec*krb5*) stop on (stopping portmap or runlevel [06]) expect fork respawn env DEFAULTFILE=/etc/default/nfs-common pre-start script do_modprobe() { modprobe -q "$1" || true } if [ -f "$DEFAULTFILE" ]; then . "$DEFAULTFILE" fi # # Parse the fstab file, and determine whether we need gssd. (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