Comment 9 for bug 768506

bdoe (bdoe-att) wrote :

It gets worse than that! It would seem that /etc/init.d/umountnfs.sh is not completing execution, hanging somewhere after evaluating /etc/mtab for nfs/cifs mounts, but before the variable $DIRS itself can be evaluated and acted upon! I ended up taking matters into my own hands and modified umountnfs.sh by adding a line to explicitly unmount my network share, immediately after the mtab evaluation, as so:

exec 9<&0 </etc/mtab

umount //192.168.1.100/MyNET\ Shares/

DIRS=""

As a result, shutdown only takes a few seconds and no longer hangs.