Bug 1379666 - grubx64.efi fails to boot with Secure Boot
Summary: grubx64.efi fails to boot with Secure Boot
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
urgent
medium
Target Milestone: Unspecified
Assignee: Lukas Zapletal
QA Contact: Roman Plevka
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-27 11:49 UTC by Roman Plevka
Modified: 2019-09-26 16:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:39:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 16705 0 Urgent Closed grubx64.efi fails to boot with Secure Boot 2021-01-04 09:14:19 UTC

Description Roman Plevka 2016-09-27 11:49:16 UTC
Description of problem:
I got to test the UEFI feature on a bare metal host (Dell PowerEdge R330) and found out, the /var/lib/tftpboot/grub2/grubx64.efi fails to boot with 'validation failed' [1] when Secure Boot is enabled.

On lzap's advice, i tried to replace the file by the one located in /boot/efi/EFI/redhat/grubx64.efi which booted just fine.

Is there a problem with signing the bootloader?

Version-Release number of selected component (if applicable):
6.3.0 Snap 1

How reproducible:


Steps to Reproduce:
1. get a machine supporting UEFI and secure boot
2. create a host with "Grub2 Uefi Secure Boot" pxe loader option

Actual results:
Verification failed:
http://storage2.static.itmages.com/i/16/0923/h_1474643658_3444841_50e85b6ce5.png


Expected results:
the signature is valid and secure boot allows the bootloader to boot

Additional info:

Comment 1 Roman Plevka 2016-09-27 11:58:55 UTC
Created redmine issue http://projects.theforeman.org/issues/16705 from this bug

Comment 3 Bryan Kearney 2016-09-27 14:20:52 UTC
Upstream bug component is Installer

Comment 6 Bryan Kearney 2016-10-12 10:15:49 UTC
Upstream bug assigned to lzap

Comment 11 Lukas Zapletal 2016-10-21 12:17:28 UTC
Shim is correctly deployed, the problem is we build our own grubx64.efi file during installation and apparently it is missing some bits (signature perhaps). The solution will be to copy pre-built version from /boot/EFI directory, which was confirmed to work.

Comment 14 Bryan Kearney 2016-11-24 11:16:15 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16705 has been resolved.

Comment 15 Roman Plevka 2017-10-26 15:10:08 UTC
VERIFIED
sat6.3.0-#20

the new grubx64.efi file gets loaded just fine and loads.

Comment 16 Bryan Kearney 2018-02-21 16:38:42 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, 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/RHSA-2018:0336

Comment 17 Bryan Kearney 2018-02-21 16:39:55 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, 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/RHSA-2018:0336

Comment 18 Satellite Program 2018-02-21 16:54:17 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, 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/RHSA-2018:0336


Note You need to log in before you can comment on or make changes to this bug.