Bug 7965

Summary: Hangs when remounting root read-write
Product: [Retired] Red Hat Linux Reporter: hno
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 6.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: 2000-01-20 16:37:10 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 hno 1999-12-23 11:13:45 UTC
Using initscripts-4.16-1

Due to some yet unknown reason I got stale /etc/mtab and /etc/mtab~ files,
causing the following quite servere error:

a) The system hung at shutdown while unmounting filesystems
b) Likevise, the system hung shortly after remounting the root filesystem
read-write during system startup.

Recovery procedure:

Start the RedHat rescue system image, fsck and mount the systems root
filesystem read-write and remove etc/mtab~

Recommended system fix:

Have the rc.sysinit script flush any existing locks on mtab.
echo >/etc/mtab  (this is already properly done)
rm -f /etc/mtab~
rm -f /etc/mtab~~ (not sure if this is required)

It appears that the cleanup of mtab~ already exists, but way to late in the
rc.sysinit.


--
Henrik Nordstrom

Comment 1 Bill Nottingham 2000-01-20 16:37:59 UTC
Will be fixed in initscripts-4.84, in the next Raw Hide release.