Bug 921422
Summary: | livecd-creator should ensure initramfs builds are not done in 'hostonly' mode | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> | ||||
Component: | livecd-tools | Assignee: | Brian Lane <bcl> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 19 | CC: | adam.stokes, anaconda-maint-list, bcl, bruno, dhuff, dracut-maint, harald, Jasper.Hartline, jonathan, katzj, rdieter, robatino | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 921914 (view as bug list) | Environment: | |||||
Last Closed: | 2013-03-18 21:28:22 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 834084, 921914 | ||||||
Attachments: |
|
Description
Adam Williamson
2013-03-14 07:34:27 UTC
Seems like the composer should set "--no-hostonly" or in their config hostonly="no" ah, I guessed that might be it. dunno why I didn't just try it, actually. sigh. livecd-creator doesn't recreate the initrd. We didn't used to have to do this, what changed? We've discussed on IRC, but the change was that upstream changed default to 'hostonly' on Fedora. 'hostonly' only includes drivers for the host system in the initramfs, which is obviously not what we want for a generic initramfs like that in the live images (or on the install images, for that matter, so we should check pungi/lorax.) should we set this back to livecd-tools? I think we agree the fix is in python-imgcreate, don't we? ok, figured it out. dracut switched the default to hostonly so we now need to add this to the config file: - f.write('add_dracutmodules+=" dmsquash-live pollcdrom "') + f.write('add_dracutmodules+=" dmsquash-live pollcdrom "\n') + f.write('hostonly="no"\n') + f.write('dracut_rescue_image="no"\n') Created attachment 710440 [details]
Proposed patch
I would even patch lorax, so that no config file can overwrite the behaviour.
We don't use lorax for live images. The livecd-creator and lorax cases are two separate bugs, please don't reassign this one. I believe Will already wrote a patch for lorax. (In reply to comment #7) > We don't use lorax for live images. The livecd-creator and lorax cases are > two separate bugs, please don't reassign this one. I believe Will already > wrote a patch for lorax. ok, sorry... We might be able to close this specific bug now? Though my last live compose still exploded on boot. Adjusting topic to be clearer, and closing the bug, as I'm pretty sure it's fixed now. |