/etc/init.d/nfs start takes 30 seconds to load. The 30 second wait timer is enabled even if exportfs is succsesful. This is what /etc/init.d/nfs does now: # Exportfs likes to hang if networking isn't working. # If that's the case, then try to kill it so the # bootup process can continue. if grep -q '^/' /etc/exports &>/dev/null; then ebegin "Exporting NFS directories" $exportfs -r 1>&2 & ( sleep 30; kill -9 $! &>/dev/null & ) wait eend $? "Error exporting NFS directories" fi I would like to recommend doing something like this: # Exportfs likes to hang if networking isn't working. # So we will check for networking first. if grep -q '^/' /etc/exports &>/dev/null; then ebegin "Exporting NFS directories" if ifconfig | grep -q eth &>/dev/null; then $exportfs -a 1>&2 & eend $? "Error exporting NFS directories" else eend 1 "Problem: Networking isn't up" fi eend $? "Error exporting NFS directories" fi What do you think?
please sync & reemerge if grep -q '^/' /etc/exports &>/dev/null; then ebegin "Exporting NFS directories" $exportfs -r 1>&2 & pid=$! ( sleep 30; kill -9 $pid &>/dev/null ) & wait $pid eend $? "Error exporting NFS directories" fi already fixed in cvs