Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1342041
Summary: | Lorax failed at a 'modinfo' command error when run under pungi | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Robin Lee <robinlee.sysu> |
Component: | lorax | Assignee: | Brian Lane <bcl> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 24 | CC: | anaconda-maint-list, bcl |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-06-03 17:45:15 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
Robin Lee
2016-06-02 10:22:15 UTC
Looks like modinfo is provided by kmod, and since this is running on the host, not the installtree, lorax.spec needs to add a Requires on it. kmod is installed. If this is running on the host, the path /builddir/work/x86_64/installtree/lib/modules/3.10.0-327.18.2.el7.x86_64/weak-updates/ahci/ahci.ko becomes a broken symlink: # file /builddir/work/x86_64/installtree/lib/modules/3.10.0-327.18.2.el7.x86_64/weak-updates/ahci/ahci.ko /builddir/work/x86_64/installtree/lib/modules/3.10.0-327.18.2.el7.x86_64/weak-updates/ahci/ahci.ko: broken symbolic link to /lib/modules/3.10.0-327.4.4.el7.x86_64/extra/ahci/ahci.ko So modinfo running on this will fail. I think there's a couple problems here. First is that the Fedora 24 version of lorax and pungi aren't designed to be used with RHEL7. So even if you get this working you're likely to run into a series of issues. AFAIK there is no pungi for RHEL7, but there is lorax for creating boot.isos. Second, that symlink, AFAIK, isn't part of the normal distribution. You are correct that an incorrect symlink there will break things, but I don't think it's supposed to be there at all. |