Bug 72949 - /etc/rc.d/init.d/halt kills itself during shutdown sequence, thus hanging the machine
Summary: /etc/rc.d/init.d/halt kills itself during shutdown sequence, thus hanging the...
Keywords:
Status: CLOSED DUPLICATE of bug 72043
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: initscripts
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-08-29 12:46 UTC by Iustin Pop
Modified: 2014-03-17 02:30 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-08-29 12:46:34 UTC
Embargoed:


Attachments (Terms of Use)

Description Iustin Pop 2002-08-29 12:46:28 UTC
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:
   /usr/lib/gconv/gconv-modules.cache
   /usr/lib/locale/locale-archive
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):


How reproducible:
Always

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

Additional info:

eliminating the 'fuser -k -m $signal $remaining' will just give a few warnings
and delays but the machine will shutdown ok.

Comment 1 Bill Nottingham 2002-08-29 18:34:38 UTC

*** This bug has been marked as a duplicate of 72043 ***


Note You need to log in before you can comment on or make changes to this bug.