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 2121836 - [RHEL-8] tboot.spec post section must locate grub.cfg and grub modules in correct dirs, add postun section
Summary: [RHEL-8] tboot.spec post section must locate grub.cfg and grub modules in cor...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: tboot
Version: 8.8
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: 8.8
Assignee: Tony Camuso
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-26 18:23 UTC by Tony Camuso
Modified: 2023-05-16 11:03 UTC (History)
4 users (show)

Fixed In Version: tboot-1.10.5-2.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-16 09:04:51 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-132491 0 None None None 2022-08-26 18:31:24 UTC
Red Hat Issue Tracker RTT-4833 0 None None None 2022-09-14 12:42:36 UTC
Red Hat Issue Tracker RTT-4834 0 None None None 2022-09-14 12:42:40 UTC
Red Hat Product Errata RHBA-2023:2966 0 None None None 2023-05-16 09:04:52 UTC

Description Tony Camuso 2022-08-26 18:23:14 UTC
Description of problem:

The install scriptlet in %post was not choosing the correct
grubenv directory. In RHEL8, the efi and legacy bios grubenv
directories are different. This change assures that the 
correct directory is used for grub.cfg and related modules.
Added a %postun section to cleanup when removing tboot with
dnf erase.

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

All RHEL-8 tboot

Additional info:

The z-stream candidate must be applied to all EUS RHEL-8 as well as RHEL-8.7.

Comment 4 Marta Lewandowska 2022-10-17 12:09:36 UTC
Installed tboot on BIOS and UEFI systems. Installation was successful. Scriptlet chooses the right directory depending on the fw type. Removal was also clean and successful.

Setting Verified: Tested

Comment 8 Marta Lewandowska 2022-11-30 08:50:25 UTC
tboot-1.10.5-2.el8 is in nightly compose RHEL-8.8.0-20221129.4
Moving to VERIFIED

Comment 10 errata-xmlrpc 2023-05-16 09:04:51 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 (tboot bug fix and enhancement update), 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-2023:2966


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