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 2124699

Summary: Error: runc: exec failed: unable to start container process: open /dev/pts/0: operation not permitted: OCI permission denied [RHEL 8.7]
Product: Red Hat Enterprise Linux 8 Reporter: Tom Sweeney <tsweeney>
Component: runcAssignee: Jindrich Novy <jnovy>
Status: CLOSED DUPLICATE QA Contact: Alex Jia <ajia>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.7CC: ajia, dornelas, fandrieu, gscrivan, jnovy, kir, mamccoma, mheon, qzhang, 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.el8_7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2117928
: 2125648 (view as bug list) Environment:
Last Closed: 2022-10-24 14:40:37 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: 2124700    
Bug Blocks: 2125648    

Comment 6 Alex Jia 2022-10-19 14:03:59 UTC
Tested with runc-1.1.4-1.module+el8.7.0+16894+3f997fa3, and test result as expected.

[root@test-8-7-0-bz2130236 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.7 (Ootpa)

[root@test-8-7-0-bz2130236 ~]# rpm -q podman runc systemd kernel
podman-4.2.0-2.module+el8.7.0+16894+3f997fa3.x86_64
runc-1.1.4-1.module+el8.7.0+16894+3f997fa3.x86_64
systemd-239-68.el8.x86_64
kernel-4.18.0-425.3.1.el8.x86_64

[root@test-8-7-0-bz2130236 ~]# podman run -d --name exec-test -p 8578:80 quay.io/redhattraining/httpd-parent
Trying to pull quay.io/redhattraining/httpd-parent:latest...
Getting image source signatures
Copying blob a3ed95caeb02 done  
Copying blob 787f47dbeaac done  
Copying blob 6a5240d60dc4 done  
Copying blob a3ed95caeb02 done  
Copying blob a3ed95caeb02 done  
Copying blob 08b8c9fdec44 done  
Copying blob a3ed95caeb02 skipped: already exists  
Copying blob a3ed95caeb02 skipped: already exists  
Copying blob a3ed95caeb02 skipped: already exists  
Copying blob 408208567b9a done  
Writing manifest to image destination
Storing signatures
ae08dfff5bc4cacac8ace9ab62cb0c2a6063ce513df3456298d455b36ee0ea40
[root@test-8-7-0-bz2130236 ~]# podman ps | grep exec-test
ae08dfff5bc4  quay.io/redhattraining/httpd-parent:latest  /bin/sh -c /usr/s...  16 seconds ago  Up 16 seconds ago  0.0.0.0:8578->80/tcp  exec-test
[root@test-8-7-0-bz2130236 ~]# systemctl daemon-reload
[root@test-8-7-0-bz2130236 ~]# podman exec -it exec-test sh
sh-4.4# exit
exit
[root@test-8-7-0-bz2130236 ~]# echo $?
0

Comment 7 Derrick Ornelas 2022-10-24 14:40:37 UTC

*** This bug has been marked as a duplicate of bug 2117928 ***