Bug 782897 - dracut generates initramfs which leaves /usr mounted read-only
Summary: dracut generates initramfs which leaves /usr mounted read-only
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: dracut-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-18 20:04 UTC by Michal Jaegermann
Modified: 2012-01-23 11:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-23 11:32:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Jaegermann 2012-01-18 20:04:22 UTC
Description of problem:

/usr/lib/dracut/modules.d/98usrmount/mount-usr.sh has the following line:

echo "$_dev $NEWROOT/$_mp $_fs ${_opts},ro $_rest"

which adds "ro" to mount options for /usr if that lives on a separate file system.  So far so good but nothing seems to even try to remount that file system later leaving it "read-only".  Unfortunately that does not agree so well with a "normal" system use.  Say, updates are not likely be happy.

Is that a really good reason to have that ",ro" above?  AFAICT fsck happens before /usr is mounted and dracut what that ",ro" skipped produces initrd which results in "normal" mountings.

Version-Release number of selected component (if applicable):
dracut-014-38.git20120117.fc17.noarch

Comment 1 Harald Hoyer 2012-01-23 11:32:13 UTC
dracut-014-61.git20120123.fc17


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