Bug 1180059
Summary: | SELinux is preventing /usr/bin/docker from 'getattr' accesses on the file /.docker/key.json. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lukas Slebodnik <lslebodn> |
Component: | docker-io | Assignee: | Lokesh Mandvekar <lsm5> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 21 | CC: | adimania, admiller, dominick.grift, dwalsh, golang-updates, hushan.jia, jchaloup, jperrin, lsm5, lvrabec, mattdm, mgoldman, mgrepl, miminar, plautrba, s, thrcka, vbatts |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:98fab2702c00a7586586baa7074e95e20735139dab38da4afa4d3a337e95daa7 | ||
Fixed In Version: | docker-io-1.4.1-6.fc20 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-01-20 21:02:20 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Lukas Slebodnik
2015-01-08 09:20:27 UTC
There is also another related AVC: Raw Audit Messages type=AVC msg=audit(1420708618.142:3030): avc: denied { read } for pid=13825 comm="docker" name="key.json" dev="dm-2" ino=2752685 scontext=system_u:system_r:docker_t:s0 tcontext=system_u:object_r:default_t:s0 tclass=file permissive=1 type=AVC msg=audit(1420708618.142:3030): avc: denied { open } for pid=13825 comm="docker" path="/.docker/key.json" dev="dm-2" ino=2752685 scontext=system_u:system_r:docker_t:s0 tcontext=system_u:object_r:default_t:s0 tclass=file permissive=1 type=SYSCALL msg=audit(1420708618.142:3030): arch=x86_64 syscall=open success=yes exit=ENOEXEC a0=c2084adb40 a1=80000 a2=0 a3=0 items=0 ppid=1 pid=13825 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=docker exe=/usr/bin/docker subj=system_u:system_r:docker_t:s0 key=(null) Hash: docker,docker_t,default_t,file,read This is a docker bug. the config file should be in /etc/docker not in /.docker docker-io-1.4.1-4.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/docker-io-1.4.1-4.fc21 docker-io-1.4.1-4.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/docker-io-1.4.1-4.fc20 Package docker-io-1.4.1-4.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing docker-io-1.4.1-4.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-0451/docker-io-1.4.1-4.fc20 then log in and leave karma (feedback). docker-io-1.4.1-5.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/docker-io-1.4.1-5.fc21 docker-io-1.4.1-5.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. docker-io-1.4.1-6.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/docker-io-1.4.1-6.fc20 docker-io-1.4.1-6.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |