Bug 1327898

Summary: SELinux is preventing ipc from 'add_name' accesses on the directory ch6_ipc.
Product: [Fedora] Fedora Reporter: OoZooL <obliterator666>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: dominick.grift, dwalsh, lvrabec, mgrepl, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:612bba92818ee82ba194dcb842b2eb2d8b8a43e76970da13dff0f3c0f84a1f92;VARIANT_ID=workstation;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-18 14:07:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description OoZooL 2016-04-17 17:11:32 UTC
Description of problem:
Again docker IPC
SELinux is preventing ipc from 'add_name' accesses on the directory ch6_ipc.

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

If you believe that ipc should be allowed add_name access on the ch6_ipc 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:
# ausearch -c ipc --raw | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:svirt_lxc_net_t:s0:c136,c911
Target Context                system_u:object_r:docker_tmpfs_t:s0
Target Objects                ch6_ipc [ dir ]
Source                        ipc
Source Path                   ipc
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-158.12.fc23.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.4.6-301.fc23.x86_64+debug #1 SMP
                              Wed Mar 30 16:31:03 UTC 2016 x86_64 x86_64
Alert Count                   1
First Seen                    2016-04-17 20:10:34 IDT
Last Seen                     2016-04-17 20:10:34 IDT
Local ID                      a1f2d51f-5c32-4ea6-b073-7521729bdca4

Raw Audit Messages
type=AVC msg=audit(1460913034.320:853): avc:  denied  { add_name } for  pid=17221 comm="ipc" name="ch6_ipc" scontext=system_u:system_r:svirt_lxc_net_t:s0:c136,c911 tcontext=system_u:object_r:docker_tmpfs_t:s0 tclass=dir permissive=0


Hash: ipc,svirt_lxc_net_t,docker_tmpfs_t,dir,add_name

Version-Release number of selected component:
selinux-policy-3.13.1-158.12.fc23.noarch

Additional info:
reporter:       libreport-2.6.4
hashmarkername: setroubleshoot
kernel:         4.4.6-301.fc23.x86_64+debug
type:           libreport

Comment 1 Daniel Walsh 2016-04-18 14:07:45 UTC

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