Bug 980251
Summary: | initramfs depends on UUID of root | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | John Reiser <jreiser> |
Component: | dracut | Assignee: | dracut-maint |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | dracut-maint, harald, jonathan |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-08-20 12:56:48 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
John Reiser
2013-07-01 21:04:33 UTC
What happens if you don't create a host-only initrd, which is the default? See: man dracut ... Changing /usr/lib/dracut/dracut.d/01-dist.conf to have hostonly="no" and re-running "dracut --force" (as root) generates an initramfs which does not depend on UUID of root. Good! [On my system the size increases from 7.5MB to 22.6MB.] However, the updated /var/log/dracut.log contains no record of the value of 'hostonly'. Bad! The log should note the values of all controlling parameters and the source of each individual override, not just the shell command line. For instance, hostonly was not specified on the command line, and in /etc/dracut.conf appears #hostonly="yes" This is confusing because the actual value is taken from /usr/lib/dracut/dracut.d/01-dist.conf which had hostonly="yes" before I changed it. Things in /usr/lib/ should not be edited, they are replaced with every update. You can install: dracut-nohostonly.rpm for a packaged config, changing the default. dracut-032 supports: $ man dracut: --persistent-policy <policy> Use <policy> to address disks and partitions. <policy> can be any directory name found in /dev/disk. E.g. "by-uuid", "by-label" $ man dracut.conf persistent_policy="<policy>" Use <policy> to address disks and partitions. <policy> can be any directory name found in /dev/disk. E.g. "by-uuid", "by-label" |