Bug 1331007
Summary: | SELinux regression in docker-selinux-1.9.1-37 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Ed Santiago <santiago> |
Component: | docker | Assignee: | Lokesh Mandvekar <lsm5> |
Status: | CLOSED ERRATA | QA Contact: | atomic-bugs <atomic-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.2 | CC: | lsm5, lsu |
Target Milestone: | rc | Keywords: | Extras |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | docker-1.9.1-38.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-05-12 15:18:31 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: |
Description
Ed Santiago
2016-04-27 12:45:28 UTC
restorecon -v /usr/bin/docker systemctl restart docker Try again. No joy. I also tried restorecon -v /usr/bin/docker-current ls -lZ /usr/bin/docker* -rwxr-xr-x. root root system_u:object_r:docker_exec_t:s0 /usr/bin/docker -rwxr-xr-x. root root system_u:object_r:bin_t:s0 /usr/bin/docker-current -rwxr-xr-x. root root system_u:object_r:bin_t:s0 /usr/bin/docker-fetch -rwxr-xr-x. root root system_u:object_r:bin_t:s0 /usr/bin/docker-storage-setup -rwxr-xr-x. root root system_u:object_r:bin_t:s0 /usr/bin/dockertarsum Followup: # chcon -t docker_exec_t /usr/bin/docker-current # systemctl restart docker # docker run registry.access.redhat.com/rhel7/rhel:latest echo hi hi (as expected) Awesome, I asked Lokesh to rebuild docker and docker-selinux package, with corrected labeling. Nice catch. will be fixed in upcoming -38 In docker-1.9.1-38.el7.x86_64 by default: # ls -lZ /usr/bin/docker* -rwxr-xr-x. root root system_u:object_r:docker_exec_t:s0 /usr/bin/docker -rwxr-xr-x. root root system_u:object_r:docker_exec_t:s0 /usr/bin/docker-current -rwxr-xr-x. root root system_u:object_r:docker_exec_t:s0 /usr/bin/docker-storage-setup # /usr/bin/docker run registry.access.redhat.com/rhel7/rhel:latest echo hi hi Move to verified 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://rhn.redhat.com/errata/RHSA-2016-1034.html |