Bug 1292317
| Summary: | Missing grub2-efi-modules | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Steven Shiau <steven> |
| Component: | releng | Assignee: | Lubos Kocman <lkocman> |
| Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.2 | CC: | dmach, ilmostro7, jblazek, jikortus, lkocman, mburns, pholica, pjones, pkotvan, snagar, steven |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-03 22:02:59 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: | 1374796 | ||
|
Description
Steven Shiau
2015-12-17 02:20:57 UTC
Hello Steven, the 'grub2-efi-modules' package for RHEL-7 is available in 'rhel-7-<variant>-optional-rpms' repository (rhel-7-server-optional-rpms in your case), please make sure the repository is enabled: $ yum search grub2-efi-modules --disablerepo=\* --enablerepo=rhel-7-server-optional-rpms Loaded plugins: product-id, search-disabled-repos, subscription-manager ============ N/S matched: grub2-efi-modules ============ grub2-efi-modules.x86_64 : Modules used to build custom grub.efi images Is this information sufficient for your use case or do you have a specific reason why the package should be located in the base repository? Thanks. For uEFI network booting, grub2-efi-modules.x86_64 is required for grub2-mkimage to create the bootx64.efi for network booting client. E.g. If the bootx64.efi is for client is in /tfptboot/nbi_img/, grub2-mkimage -C xz -O x86_64-efi -o /tftpboot/nbi_img/bootx64.efi '--prefix=(tftp)/grub-efi.cfg/' -c /tmp/grub-efi.i8ptlp/grub-header.cfg normal tftp efinet chain echo net gzio xzio linux efi_gop efi_uga png gfxterm gfxterm_background gfxterm_menu serial progress reboot halt Therefore it would be better to put grub2-efi-modules.x86_64n the base repository. My 2 cents. Steven. Hello Steven, you should be able to use /boot/efi/EFI/redhat/gcdx64.efi provided by grub2-efi rpm for netboot. It includes all essential modules required for RHEL netboot. It is also documented in installation guide in section "Configuring a PXE Server for UEFI-based AMD64 and Intel 64 Clients". If not, grub2-efi-modules is still available in optional repository as Jiri already mentioned. Looking to spec file, there are following modules included in distribution grubx64.efi image: all_video boot btrfs cat chain configfile echo efifwsetup efinet ext2 fat font gfxmenu gfxterm gzio halt hfsplus iso9660 jpeg loadenv lvm mdraid09 mdraid1x minicmd normal part_apple part_msdos part_gpt password_pbkdf2 png reboot search search_fs_uuid search_fs_file search_label sleep syslinuxcfg test tftp regexp video xfs I'm just trying to find another ways and possibly avoid moving grub2-efi-modules to base repository. grub2-efi-modules ended up in Optional in rhel-7.2. We should move it into main variants in rhel-7.3. grub2-efi-modules subpackage was moved to main variants. Verified on RHEL-7.3-20160919.n.0. grub2-efi-modules was moved to base repos. *** Bug 1375679 has been marked as a duplicate of this bug. *** This still seems wrong to me - why do you need to use grub2-mkimage in the first place? The .efi file we ship should include everything needed to network boot, and grub2-efi-modules should not be necessary. In addition, moving it into base repos is probably *hiding* whatever the real issue is here on some systems, but on other systems it simply will not work, because it results in an unsigned bootloader. So we need to fix whatever issue you have with the modules, and probably do that *instead* of this. Hi Peter, Thanks for asking. I mentioned in the beginning this is a wishlist, because it would be more flexible to have grub2-efi-modules so that user can use grub2-mkimage to make her/his own network booting efi. E.g., the grub config file, prefix (for EFI path) can be assigned by grub2-mkimage. Sometimes user need flexibility, i.e., a customized bootloader than a signed, unchangeable bootloader. Steven But isn't that the whole point of it being in -optional to begin with? Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-2143.html I apologize for resurrecting this issue, however, I must agree with Peter Jones on this. As it stands right now, on a RHEL-7.3 system, the `grub2-efi-modules` package is available in both repos mentioned: ~~~ repoquery -qa --repoid=rhel-7-server-rpms |grep -i grub2-efi grub2-efi-1:2.02-0.44.el7.x86_64 grub2-efi-modules-1:2.02-0.44.el7.x86_64 [14:45][etc]# repoquery -qa --repoid=rhel-7-server-optional-rpms |grep -i grub2-efi grub2-efi-modules-1:2.02-0.34.el7_2.x86_64 ~~~ The work here should be reversed, and the bug closed as *NOTABUG* (In reply to ilmostro7 from comment #18) > The work here should be reversed, and the bug closed as *NOTABUG* For that you need to file new bug referencing this one. More of a suggestion; I'll leave it up to implementers to make determination. Adding needinfo flag for Jan Blazek (In reply to ilmostro7 from comment #17) > I apologize for resurrecting this issue, however, I must agree with Peter > Jones on this. As it stands right now, on a RHEL-7.3 system, the > `grub2-efi-modules` package is available in both repos mentioned: > > ~~~ > repoquery -qa --repoid=rhel-7-server-rpms |grep -i grub2-efi > grub2-efi-1:2.02-0.44.el7.x86_64 > grub2-efi-modules-1:2.02-0.44.el7.x86_64 > [14:45][etc]# repoquery -qa --repoid=rhel-7-server-optional-rpms |grep -i > grub2-efi > > grub2-efi-modules-1:2.02-0.34.el7_2.x86_64 > ~~~ grub2-efi-modules has been moved from Server-optional to Server repository in RHEL 7.3. The old version from RHEL 7.2 has stayed in the Server-optional. I think this is expected. This is more general question. We usually do not remove old already released content from the repositories. Lubos, what is your viewpoint of this? The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |