Hi, the script /etc/init.d/nfs expects /etc/exports to exist. The file is not installed by any package or stage tarball. Hence, it doesn't exist on "vanilla" systems. Running "depscan.sh -u" gives: # depscan.sh -u * Caching service dependencies ... awk: cmd. line:1: fatal: cannot open file `/etc/exports' for reading (No such file or directory) * Can't find service 'rpc.gssd' needed by 'nfs'; continuing... [ ok ] The offending lines in /etc/init.d/nfs seem to be: depend() { local myneed="" if ! awk '!/^[[:space:]]*#/ && $2 ~ /sec=/ { exit 1 }' /etc/exports ; then myneed="${myneed} rpc.gssd" fi The script should check for the file's existence. A workaround is, to run "touch /etc/exports". Reproducible: Always Steps to Reproduce:
http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/files/nfs.initd?r1=1.8&r2=1.9
Now i get: # depscan.sh -u * Caching service dependencies ... /var/lib/init.d/depcache: line 274: config: command not found /var/lib/init.d/depcache: line 367: config: command not found Because of http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/files/nfs.initd?r1=1.7&r2=1.8
So file a new bug.