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.
You need to move to the latest docker and selinux-policy packages available for 7.3.
docker-1.10.3-55.el7
selinux-policy-3.13.1-100.el7
Comment 10RHEL Program Management
2020-12-15 07:46:23 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.
Description of problem: The SELinux blocks docker container running and run any command, Version-Release number of selected component (if applicable): [cloud-user@atomic-host-001 ~]$ cat /etc/redhat-release Red Hat Enterprise Linux Atomic Host release 7.3 [cloud-user@atomic-host-001 ~]$ atomic host status State: idle Deployments: ● Atomic-7.3-tree-20160915.0:rhel-atomic-host/7/x86_64/standard Version: 7.3 (2016-09-20 14:44:34) Commit: 561537dc289445087debf17eb398f6190fb0674930fa04789d0844463b64c5e5 OSName: rhel-atomic-host rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard Version: 7.3 (2016-09-12 16:11:28) Commit: 1dea52b87ab6f4865fd5ceaa990ea436f912e9ec4af5e126c6890e1b8666d85a OSName: rhel-atomic-host [cloud-user@atomic-host-001 ~]$ rpm -qa|grep selinux selinux-policy-targeted-3.13.1-99.el7.noarch libselinux-python-2.5-6.el7.x86_64 libselinux-2.5-6.el7.x86_64 docker-selinux-1.10.3-46.el7.14.x86_64 selinux-policy-3.13.1-99.el7.noarch libselinux-utils-2.5-6.el7.x86_64 How reproducible: always Steps to Reproduce: 1. make sure SELinux is enforcing mode 2. docker run -it busybox Actual results: [cloud-user@atomic-host-001 ~]$ getenforce Enforcing [cloud-user@atomic-host-001 ~]$ sudo docker run -it busybox Unable to find image 'busybox:latest' locally Trying to pull repository registry.access.redhat.com/busybox ... unknown: Not Found Trying to pull repository docker.io/library/busybox ... latest: Pulling from docker.io/library/busybox 8ddc19f16526: Pull complete Digest: sha256:a59906e33509d14c036c8678d687bd4eec81ed7c4b8ce907b888c607f6a1e0e6 Status: Downloaded newer image for docker.io/busybox:latest permission denied docker: Error response from daemon: Container command could not be invoked.. Expected results: Additional info: The same issue is on selinux-policy-3.13.1-100.el7.noarch. <audit_log> type=AVC msg=audit(1474599538.637:305248): avc: denied { transition } for pid=63939 comm="exe" path="/bin/sh" dev="dm-4" ino=8388865 scontext=system_u:system_r:unconfined_service_t:s0 tcontext=system_u:system_r:svirt_lxc_net_t:s0:c7,c909 tclass=process </audit_log>