RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1005884 - Signing grub using sbsigntools prints warnings
Summary: Signing grub using sbsigntools prints warnings
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: grub
Version: 6.4
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Jan Grulich
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-09 15:10 UTC by Ralf Spenneberg
Modified: 2014-11-20 21:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-20 21:26:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ralf Spenneberg 2013-09-09 15:10:12 UTC
Description of problem:
To use RHEL 6 in an UEFI Secure Boot environment I need to sign the grub binary.

Version-Release number of selected component (if applicable):
grub-0.97-81.el6.x86_64


How reproducible:
Always

Steps to Reproduce:
1. Install the sbsigntools from source
2. Generate keys for signing
3. Sign the grub binary using 

sbsign --key signing.key --cert signing.pem.crt grub.efi

Actual results:
warning: gap in section table:
    .text   : 0x00000400 - 0x0001e200,
    .reloc  : 0x0001e209 - 0x0001e609,
warning: gap in section table:
    .reloc  : 0x0001e209 - 0x0001e609,
    .data   : 0x0001e600 - 0x00032c00,
gaps in the section table may result in different checksums
warning: data remaining[228864 vs 251274]: gaps between PE/COFF sections?


Expected results:
No warnings. 

Additional info:
Hashing the grub via the mokmanager of shim does not work. Maybe because of the gaps in the section tables.

Comment 2 RHEL Program Management 2013-10-14 02:19:20 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 3 Peter Jones 2014-11-20 21:26:43 UTC
We don't support Secure Boot in any way in RHEL 6.  On releases where we do support Secure Boot, we don't provide sbsign or support using it for anything.

In any event, the problem you're seeing is with sbsign, not in grub.


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