Bug 145675 - initrd fails to mount / read-only if using non-default mount options in fstab
Summary: initrd fails to mount / read-only if using non-default mount options in fstab
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: mkinitrd
Version: 3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peter Jones
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-01-20 16:24 UTC by Bjoern Engels
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-03-07 22:47:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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