Bug 9543

Summary: / mount race on boot!
Product: [Retired] Red Hat Linux Reporter: lars
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 6.1CC: lars, 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-02-18 16:11:48 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 lars 2000-02-18 07:56:18 UTC
Good morning. Checking indicates this bug is not yet known.

If you by chance (in our case it appeared to involve an unclean NFS
shutdown or whatever) end up with /etc/mtab, mtab~ and mtab~~, your system
will hang directly after remounting / rw. No error message will be given,
it will just hang and loop.

(This is mount trying to create its lockfile for mtab and failing)

How to reproduce easily:
touch /etc/mtab /etc/mtab~ /etc/mtab~~
sync ; shutdown -f (or flip the reset button;)

Quite an annoying error to track down, since it follows even a cp -a of the
root fs to a new partition (one of the first suspects of a box hanging
after remounting / rw is a ext2 error of some sort...)

initscripts should do something about that (remove mtab*), and mount should
_probably_ complain about it instead of silently looping forever.

Comment 1 Alan Cox 2000-02-18 11:20:59 UTC
*** Bug 9544 has been marked as a duplicate of this bug. ***

Comment 2 Bill Nottingham 2000-02-18 16:11:59 UTC
This is fixed as of initscripts-4.84 and above.