Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 72949

Summary: /etc/rc.d/init.d/halt kills itself during shutdown sequence, thus hanging the machine
Product: [Retired] Red Hat Raw Hide Reporter: Iustin Pop <iusty>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED DUPLICATE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-08-29 12:46:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***