Bug 1656836
Summary: | SELinux policy incomplete for Docker with user namespaces | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Oliver Falk <ofalk> |
Component: | container-selinux | Assignee: | Lokesh Mandvekar <lsm5> |
Status: | CLOSED ERRATA | QA Contact: | atomic-bugs <atomic-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.6 | CC: | dornelas, dwalsh, lsu, lvrabec, mgrepl, mmalik, plautrba, ssekidde, vmojzis |
Target Milestone: | rc | Keywords: | Extras |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | container-selinux-2.78 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-04-23 17:40:07 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: | |||
Bug Blocks: | 1186913 |
Description
Oliver Falk
2018-12-06 12:37:41 UTC
You should try podman, it has much better user namespace support. Fixed in container-selinux-2.78 # rpm -q docker container-selinux docker-1.13.1-96.gitb2f74b2.el7.x86_64 container-selinux-2.95-2.el7_6.noarch # docker run --rm -it rhel7 /bin/bash Unable to find image 'rhel7:latest' locally Trying to pull repository registry.access.redhat.com/rhel7 ... latest: Pulling from registry.access.redhat.com/rhel7 76608b6b9d54: Pull complete 3c81a5d20855: Pull complete Digest: sha256:13586fd79ec345ad3ba6cb803e206b84ea9cf19bb9245d72b6913c8b40625a5c Status: Downloaded newer image for registry.access.redhat.com/rhel7:latest [root@d4279ba8142e /]# # ps -ef | grep /bin/bash root 3709 3388 0 23:39 pts/0 00:00:00 /usr/bin/docker-current run --rm -it rhel7 /bin/bash 808080 3908 3891 0 23:40 pts/1 00:00:00 /bin/bash root 4221 4185 0 23:44 pts/2 00:00:00 grep --color=auto /bin/bash 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, 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-2019:0861 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |