Comment 9 for bug 768506

bdoe (bdoe-att) wrote :

It gets worse than that! It would seem that /etc/init.d/ 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 by adding a line to explicitly unmount my network share, immediately after the mtab evaluation, as so:

exec 9<&0 </etc/mtab

umount //\ Shares/


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