Bug 1874 - yum/dnf breaks all docker containers
Summary: yum/dnf breaks all docker containers
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 8.6
Hardware: All Linux
: P1-Urgent S1-blocker
Target Milestone: ---
Assignee: 葛立伟
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-10 21:20 UTC by wuyihao66
Modified: 2022-11-23 12:24 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wuyihao66 alibaba_cloud_group 2022-08-10 21:20:25 UTC
Description of problem:
yum/dnf breaks all docker containers
Not sure if it's yum's/dnf's bug.

Version-Release number of selected component (if applicable):
dnf-4.7.0-8.0.1.an8.noarch
podman-4.1.1-2.module+an8.6.0+10825+318933f1.aarch64

How reproducible:
Always

Steps to Reproduce:
1. podman run -it -d --rm --name test centos /bin/bash
2. yum install -y httpd (or other packages like tuned)
3. podman exec -it bash -c "echo hello"

Actual results:
Error: runc: exec failed: unable to start container process: open /dev/pts/1: operation not permitted: OCI permission denied

Expected results:
hello

Additional info:
Comment 1 wuyihao66 alibaba_cloud_group 2022-08-10 21:41:01 UTC
(In reply to wuyihao66 from comment #0)
> Description of problem:
> yum/dnf breaks all docker containers
> Not sure if it's yum's/dnf's bug.
> 
> Version-Release number of selected component (if applicable):
> dnf-4.7.0-8.0.1.an8.noarch
> podman-4.1.1-2.module+an8.6.0+10825+318933f1.aarch64
> 
> How reproducible:
> Always
> 
> Steps to Reproduce:
> 1. podman run -it -d --rm --name test centos /bin/bash
> 2. yum install -y httpd (or other packages like tuned)
> 3. podman exec -it bash -c "echo hello"
> 
> Actual results:
> Error: runc: exec failed: unable to start container process: open
> /dev/pts/1: operation not permitted: OCI permission denied
> 
> Expected results:
> hello
> 
> Additional info:

Sorry, the steps are mis-recorded, so I'll mend them as,

1. podman run -it -d --rm --name test centos /bin/bash
2. yum install -y httpd (or other packages like tuned)
3. podman exec -it test bash -c "echo hello"