Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1701359

Summary: rpmdiff message: Detecting usr/bin/buildah with not-hardened warnings
Product: Red Hat Enterprise Linux 8 Reporter: Lokesh Mandvekar <lsm5>
Component: buildahAssignee: Jindrich Novy <jnovy>
Status: CLOSED ERRATA QA Contact: Joy Pu <ypu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0CC: deparker, dwalsh, jnovy, kanderso, tstellar, tsweeney, ypu
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: buildah-1.15.1-2.el8 and newer Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1701361 1701362 (view as bug list) Environment:
Last Closed: 2021-02-16 14:21:45 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:

Description Lokesh Mandvekar 2019-04-18 18:17:31 UTC
Description of problem:

Seems that buildah wasn't built with hardening flags enabled.
See: https://rpmdiff.engineering.redhat.com/run/402505/7/

I'm guessing this would need changes to the %gobuild macro. Filing this here just for the record.

Comment 1 Daniel Walsh 2019-09-01 11:12:02 UTC
Can we get buildah bugs assigned to Tom directly with a CC to me?

Comment 2 Tom Sweeney 2020-06-03 21:46:59 UTC
Dan or Lokesh, any idea what needs to be changed in the spec file to enable the hardening flags?

Comment 3 Daniel Walsh 2020-06-04 19:59:15 UTC
Jindrich do you know how to turn these on?

Comment 4 Jindrich Novy 2020-06-09 07:11:10 UTC
Tom Stellard, given I'm subject matter expert here, would you know how to enable hardening flags reliably here? Thanks!

Comment 5 Derek Parker 2020-06-23 15:33:42 UTC
We discussed this internally and believe it's due to an older version of annobin and is a false red flag for Go binaries.

Comment 15 Joy Pu 2020-11-13 07:56:17 UTC
The new rpmdiff results for Execshield is clean now. So set this to verified. Details:
https://rpmdiff.engineering.redhat.com/run/472171/7/

Comment 17 errata-xmlrpc 2021-02-16 14:21:45 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 (Moderate: container-tools:rhel8 security, 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/RHSA-2021:0531