Bug 782897

Summary: dracut generates initramfs which leaves /usr mounted read-only
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal>
Component: dracutAssignee: dracut-maint
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dracut-maint, harald, jonathan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-23 11:32:13 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 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