Bug 1221460 - SELinux is preventing docker from 'getattr' accesses on the directory /etc/mplayer.
Summary: SELinux is preventing docker from 'getattr' accesses on the directory /etc/mp...
Keywords:
Status: CLOSED DUPLICATE of bug 1221379
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:589d1df7782d74c98aa971797b6...
: 1221461 1221462 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-14 05:36 UTC by Alexander W. Janssen
Modified: 2015-05-14 14:42 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-05-14 14:42:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Alexander W. Janssen 2015-05-14 05:36:55 UTC
Description of problem:
This occured during yum upgrade; not sure what docker was trying to do here.
Can't tell if I'll be able to reproduce it.
SELinux is preventing docker from 'getattr' accesses on the directory /etc/mplayer.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that docker should be allowed getattr access on the mplayer directory by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep docker /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:docker_t:s0
Target Context                system_u:object_r:mplayer_etc_t:s0
Target Objects                /etc/mplayer [ dir ]
Source                        docker
Source Path                   docker
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           mplayer-common-1.1-32.20150123svn.fc21.x86_64
                              mplayer-common-1.1-33.20150211svn.fc21.x86_64
Policy RPM                    selinux-policy-3.13.1-105.13.fc21.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.19.5-200.fc21.x86_64 #1 SMP Mon
                              Apr 20 19:51:56 UTC 2015 x86_64 x86_64
Alert Count                   1
First Seen                    2015-05-14 07:33:36 CEST
Last Seen                     2015-05-14 07:33:36 CEST
Local ID                      699f9a48-83aa-4983-9c43-66092f4be05a

Raw Audit Messages
type=AVC msg=audit(1431581616.973:1022): avc:  denied  { getattr } for  pid=6133 comm="docker" path="/etc/mplayer" dev="dm-2" ino=2884811 scontext=system_u:system_r:docker_t:s0 tcontext=system_u:object_r:mplayer_etc_t:s0 tclass=dir permissive=1


Hash: docker,docker_t,mplayer_etc_t,dir,getattr

Version-Release number of selected component:
selinux-policy-3.13.1-105.13.fc21.noarch

Additional info:
reporter:       libreport-2.3.0
hashmarkername: setroubleshoot
kernel:         3.19.5-200.fc21.x86_64
type:           libreport

Comment 1 Daniel Walsh 2015-05-14 12:30:19 UTC
*** Bug 1221461 has been marked as a duplicate of this bug. ***

Comment 2 Daniel Walsh 2015-05-14 12:30:28 UTC
*** Bug 1221462 has been marked as a duplicate of this bug. ***

Comment 3 Daniel Walsh 2015-05-14 14:42:56 UTC

*** This bug has been marked as a duplicate of bug 1221379 ***


Note You need to log in before you can comment on or make changes to this bug.