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 1947432

Summary: podman run --pid=host command causes OCI permission error
Product: Red Hat Enterprise Linux 8 Reporter: Tom Sweeney <tsweeney>
Component: podmanAssignee: Jindrich Novy <jnovy>
Status: CLOSED ERRATA QA Contact: Yuhui Jiang <yujiang>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 8.4CC: ajia, bbaude, dornelas, dwalsh, jligon, jnovy, kir, leiwang, lsm5, mheon, pthomas, tsweeney, umohnani, weshen, ypu, yujiang
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: runc-1.0.0-76.rc95.el8 or newer Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1974907 2035227 (view as bug list) Environment:
Last Closed: 2021-11-09 17:37:47 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: 1897579, 1989481    
Bug Blocks: 1974907, 2035227    

Comment 2 Kir Kolyshkin 2021-04-08 17:30:36 UTC
Preliminary runc patch that fixes the issue: https://github.com/opencontainers/runc/pull/2897 (fixes the issue, still working on it to make it more robust and add a test case).

Comment 3 Tom Sweeney 2021-04-08 19:37:16 UTC
After further discussions, we have decided to NOT deliver this in zero day, but instead, aim it towards RHEL 8.3.0.1.  In addition, we will not be using Matt's workaround.  We will backport the runc fix that Kir mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=1947432#c2.  Matt is working on readying that for RHEL.

Comment 4 Tom Sweeney 2021-04-09 00:09:19 UTC
Ugh,  dyslexia strikes again, in comment 3 I said we were aiming for 8.3.0.1, that is incorrect, we are aiming for 8.4.0.1.  Apologies for the confusion.

Comment 5 Alex Jia 2021-04-09 02:17:01 UTC
I gave a try for kolyshkin's patch, basically, it works for me w/ 
podman-3.0.1-6.module+el8.4.0+10487+af324045 and kernel-4.18.0-293,
although I got some warning.

https://github.com/opencontainers/runc/pull/2897#issuecomment-815975827

Comment 22 errata-xmlrpc 2021-11-09 17:37:47 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:4154

Comment 23 Red Hat Bugzilla 2023-09-15 01:04:48 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days