Bug 1997734

Summary: Missing grub2-efi-x64-modules in latest centos9 composes
Product: Red Hat Enterprise Linux 9 Reporter: David Vallee Delisle <dvd>
Component: grub2Assignee: Bootloader engineering team <bootloader-eng-team>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: medium    
Version: CentOS StreamCC: bstinson, carl, davide, igor.raits, jwboyer, ngompa13, pjanda, release-test-team-automation, rharwood
Target Milestone: rc   
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: 2022-05-17 15:51:00 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: 1999574, 2032235    

Description David Vallee Delisle 2021-08-25 17:47:50 UTC
Description of problem:
There's no build of grub2-efi-x64-modules in the latest centos9. Can't find anything that says that this is deprecated or removed. F34 still has a build for this package as well, so I don't see any reason why this is missing.

Maybe it's unrelated but there's some exclusion logs for this package in the compose logs:

 2021-08-25 04:23:49 [DEBUG   ] Excluding (EXCLUDEARCH: ['s390', 's390x']): grub2-efi-x64-modules-2.06~rc1-8.el9.noarch.rpm

Comment 1 Robbie Harwood 2021-09-15 22:20:51 UTC
This is probably a mistake.  Josh, how do we go about getting that added back in these days?

Comment 2 Robbie Harwood 2021-09-16 15:32:33 UTC
*** Bug 2005037 has been marked as a duplicate of this bug. ***

Comment 4 Robbie Harwood 2021-09-16 15:57:47 UTC
Thanks Brian!

Comment 11 Neal Gompa 2021-12-31 15:20:08 UTC
The ia32 modules packages were missed, I've submitted a MR to fix that: https://gitlab.com/redhat/centos-stream/release-engineering/pungi-centos/-/merge_requests/224

Comment 12 Neal Gompa 2021-12-31 15:32:25 UTC
This is required to make kiwi from EPEL (bug 2032235) installable on EL9.

Comment 13 Josh Boyer 2022-01-04 18:36:50 UTC
(In reply to Neal Gompa from comment #11)
> The ia32 modules packages were missed, I've submitted a MR to fix that:
> https://gitlab.com/redhat/centos-stream/release-engineering/pungi-centos/-/
> merge_requests/224

RHEL doesn't support 32-bit EFI.  It's odd that we're shipping any of the grub2-efi-ia32 subpackages at the moment.  What does kiwi need this for?

Comment 14 Neal Gompa 2022-01-04 18:43:28 UTC
(In reply to Josh Boyer from comment #13)
> (In reply to Neal Gompa from comment #11)
> > The ia32 modules packages were missed, I've submitted a MR to fix that:
> > https://gitlab.com/redhat/centos-stream/release-engineering/pungi-centos/-/
> > merge_requests/224
> 
> RHEL doesn't support 32-bit EFI.  It's odd that we're shipping any of the
> grub2-efi-ia32 subpackages at the moment.  What does kiwi need this for?

Configuring 32-bit UEFI for 64-bit systems. RHEL inherits this from Fedora, which has this support too. RHEL does ship the grub2-efi-ia32 and grub2-efi-ia32-cdboot packages, so shipping the grub2-efi-ia32-modules package should be fine as well.

Comment 15 Josh Boyer 2022-01-04 18:51:30 UTC
(In reply to Neal Gompa from comment #14)
> (In reply to Josh Boyer from comment #13)
> > (In reply to Neal Gompa from comment #11)
> > > The ia32 modules packages were missed, I've submitted a MR to fix that:
> > > https://gitlab.com/redhat/centos-stream/release-engineering/pungi-centos/-/
> > > merge_requests/224
> > 
> > RHEL doesn't support 32-bit EFI.  It's odd that we're shipping any of the
> > grub2-efi-ia32 subpackages at the moment.  What does kiwi need this for?
> 
> Configuring 32-bit UEFI for 64-bit systems. RHEL inherits this from Fedora,
> which has this support too. RHEL does ship the grub2-efi-ia32 and
> grub2-efi-ia32-cdboot packages, so shipping the grub2-efi-ia32-modules
> package should be fine as well.

It ships them in the current Beta.  We may revisit that and remove them before GA.  32-bit UEFI is entirely unsupported in RHEL as far as I know.

Can you configure kiwi in EPEL 9 to not support this?

Comment 16 Neal Gompa 2022-01-04 19:14:52 UTC
(In reply to Josh Boyer from comment #15)
> (In reply to Neal Gompa from comment #14)
> > (In reply to Josh Boyer from comment #13)
> > > (In reply to Neal Gompa from comment #11)
> > > > The ia32 modules packages were missed, I've submitted a MR to fix that:
> > > > https://gitlab.com/redhat/centos-stream/release-engineering/pungi-centos/-/
> > > > merge_requests/224
> > > 
> > > RHEL doesn't support 32-bit EFI.  It's odd that we're shipping any of the
> > > grub2-efi-ia32 subpackages at the moment.  What does kiwi need this for?
> > 
> > Configuring 32-bit UEFI for 64-bit systems. RHEL inherits this from Fedora,
> > which has this support too. RHEL does ship the grub2-efi-ia32 and
> > grub2-efi-ia32-cdboot packages, so shipping the grub2-efi-ia32-modules
> > package should be fine as well.
> 
> It ships them in the current Beta.  We may revisit that and remove them
> before GA.  32-bit UEFI is entirely unsupported in RHEL as far as I know.
> 
> Can you configure kiwi in EPEL 9 to not support this?

I can. I'd prefer not to, but I can do so.

I also need bug 2036365 resolved for kiwi, and if that's resolved while this is stuck, I'll adjust it to not pull these packages in.

Comment 17 Neal Gompa 2022-01-04 19:16:11 UTC
Also I'd like to note that grub2-efi-ia32-* packages were shipped in RHEL 8 and RHEL 7, too. So dropping the grub2-efi-ia32 support would be new to RHEL 9.

Comment 18 Josh Boyer 2022-01-04 19:25:13 UTC
(In reply to Neal Gompa from comment #16)
> (In reply to Josh Boyer from comment #15)
> > (In reply to Neal Gompa from comment #14)
> > > (In reply to Josh Boyer from comment #13)
> > > > (In reply to Neal Gompa from comment #11)
> > > > > The ia32 modules packages were missed, I've submitted a MR to fix that:
> > > > > https://gitlab.com/redhat/centos-stream/release-engineering/pungi-centos/-/
> > > > > merge_requests/224
> > > > 
> > > > RHEL doesn't support 32-bit EFI.  It's odd that we're shipping any of the
> > > > grub2-efi-ia32 subpackages at the moment.  What does kiwi need this for?
> > > 
> > > Configuring 32-bit UEFI for 64-bit systems. RHEL inherits this from Fedora,
> > > which has this support too. RHEL does ship the grub2-efi-ia32 and
> > > grub2-efi-ia32-cdboot packages, so shipping the grub2-efi-ia32-modules
> > > package should be fine as well.
> > 
> > It ships them in the current Beta.  We may revisit that and remove them
> > before GA.  32-bit UEFI is entirely unsupported in RHEL as far as I know.
> > 
> > Can you configure kiwi in EPEL 9 to not support this?
> 
> I can. I'd prefer not to, but I can do so.

I think that would be the more expedient solution for now.


(In reply to Neal Gompa from comment #17)
> Also I'd like to note that grub2-efi-ia32-* packages were shipped in RHEL 8
> and RHEL 7, too. So dropping the grub2-efi-ia32 support would be new to RHEL
> 9.

Yes, we're aware of what we're shipping in RHEL.

Comment 19 Neal Gompa 2022-01-04 22:17:53 UTC
I've stripped the dependency for now: https://src.fedoraproject.org/rpms/kiwi/c/30abc240ed80ea3a21746f76610e858be1e40279

I would like to add it back eventually, as I deal with some x86_64 appliance hardware that use 32-bit UEFI and it'd be nice to move from EL8 to EL9 there.

Comment 20 Petr Janda 2022-02-16 09:12:27 UTC
verified that grub2-efi-x64-modules package is included in composes

Comment 22 errata-xmlrpc 2022-05-17 15:51:00 UTC
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 (new packages: grub2), 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://access.redhat.com/errata/RHBA-2022:3925