Bug 145675

Summary: initrd fails to mount / read-only if using non-default mount options in fstab
Product: [Fedora] Fedora Reporter: Bjoern Engels <bj+bugzilla>
Component: mkinitrdAssignee: Peter Jones <pjones>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-07 22:47:42 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 Bjoern Engels 2005-01-20 16:24:44 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041111 Firefox/1.0

Description of problem:
If you use an fstab entry like
/dev/hda1  /  ext3  rw,acl 1 1
mkinitrd will create a ramdisk using those options.

If the system boots using that initrd it will mount / read-write,
letting switchroot fail (I guess that it's switchroot).

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. replace "defaults" for root partition in fstab with e.g. "rw"
2. create a new initrd
3. boot system using new initrd
    

Actual Results:  System doesn't start up as expected, leaving you in
filesystem repair mode.

Expected Results:  up and running system

Additional info:

Comment 1 Peter Jones 2005-03-07 22:47:42 UTC
Don't do that.