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 2124700

Summary: Error: runc: exec failed: unable to start container process: open /dev/pts/0: operation not permitted: OCI permission denied [RHEL 9.1]
Product: Red Hat Enterprise Linux 9 Reporter: Tom Sweeney <tsweeney>
Component: runcAssignee: Jindrich Novy <jnovy>
Status: CLOSED ERRATA QA Contact: Alex Jia <ajia>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 9.2CC: ajia, dornelas, fandrieu, gscrivan, jnovy, kir, mamccoma, mheon, rcarrier, snangare, toneata, tsweeney, ypu
Target Milestone: rcKeywords: Regression, Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: runc-1.1.4-1.el9_1_0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2117928 Environment:
Last Closed: 2022-11-15 15:59:28 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: 2117928    
Bug Blocks: 2124699    

Comment 3 Tom Sweeney 2022-09-09 00:06:36 UTC
@ypu can I get a QA ack please?

Comment 10 Alex Jia 2022-10-20 09:56:32 UTC
This bug has been verified on runc-1.1.4-1.el9_1.

[root@kvm-01-guest24 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 9.1 (Plow)

[root@kvm-01-guest24 ~]# rpm -q runc podman systemd kernel
runc-1.1.4-1.el9_1.x86_64
podman-4.2.0-5.el9_1.x86_64
systemd-250-12.el9_1.x86_64
kernel-5.14.0-162.6.1.el9_1.x86_64

[root@kvm-01-guest24 ~]# uname -a
Linux kvm-01-guest24.lab.eng.brq2.redhat.com 5.14.0-162.6.1.el9_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Sep 30 07:36:03 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux

[root@kvm-01-guest24 ~]#  podman run --runtime runc -d --name exec-test  -p 8578:80 quay.io/redhattraining/httpd-parent
7c680837ead42edaed66b57c09c3618673e48190f7b17d23818472e917521dce

[root@kvm-01-guest24 ~]# podman ps --filter name=exec-test
CONTAINER ID  IMAGE                                       COMMAND               CREATED         STATUS             PORTS                 NAMES
7c680837ead4  quay.io/redhattraining/httpd-parent:latest  /bin/sh -c /usr/s...  10 seconds ago  Up 10 seconds ago  0.0.0.0:8578->80/tcp  exec-test
[root@kvm-01-guest24 ~]# systemctl daemon-reload
[root@kvm-01-guest24 ~]# podman --runtime runc exec -it exec-test sh
sh-4.4# pwd
/
sh-4.4# exit
exit
[root@kvm-01-guest24 ~]# echo $?
0

Comment 14 errata-xmlrpc 2022-11-15 15:59:28 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 (runc 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-2022:8433