Red Hat Bugzilla – Bug 72949
/etc/rc.d/init.d/halt kills itself during shutdown sequence, thus hanging the machine
Last modified: 2014-03-16 22:30:36 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020809
Description of problem:
With initscripts-6.91-1 and bash-2.05b-5 and /usr on a separate partition, the
/etc/rc.d/init.d/halt script tries to umount /usr, which cannot be unmounted
because the bash which executes the halt uses the files:
The next step in halt is to call:
fuser -k -m /usr >/dev/null
but this kills also the bash that is driving halt, so all processes except init
are killed. Now init says 'No more processes left in this runlevel' and the
machine just sits there.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. have a rawhide with /usr on a separate partition
2. have locale 'en_US.UTF-8'
3. try to reboot or shutdown
Actual Results: hangs as described
Expected Results: shut down or halt
eliminating the 'fuser -k -m $signal $remaining' will just give a few warnings
and delays but the machine will shutdown ok.
*** This bug has been marked as a duplicate of 72043 ***