Bug 7965 - Hangs when remounting root read-write
Hangs when remounting root read-write
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
6.0
All Linux
medium Severity high
: ---
: ---
Assigned To: Bill Nottingham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-12-23 06:13 EST by hno
Modified: 2014-03-16 22:11 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-01-20 11:37:10 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description hno 1999-12-23 06:13:45 EST
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 11:37:59 EST
Will be fixed in initscripts-4.84, in the next Raw Hide release.

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