Bug 1381030

Summary: SELinux is preventing abrt-hook-ccpp from 'connectto' accesses on the unix_stream_socket /run/abrt/abrt.socket.
Product: [Fedora] Fedora Reporter: Sylvain Réault <vindicators>
Component: abrtAssignee: abrt <abrt-devel-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: abrt-devel-list, dominick.grift, dwalsh, iprikryl, jfilak, lvrabec, mgrepl, mhabrnal, michal.toman, mmilata, phelia, plautrba, pmoore
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:554ea8cf5ebe3e72038532d54d4fe4e303fce54827139985313fd6c82e61c856;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-03 10:40:34 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 Sylvain Réault 2016-10-02 14:52:41 UTC
Description of problem:
SELinux is preventing abrt-hook-ccpp from 'connectto' accesses on the unix_stream_socket /run/abrt/abrt.socket.

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

If vous pensez que abrt-hook-ccpp devrait être autorisé à accéder connectto sur abrt.socket unix_stream_socket par défaut.
Then vous devriez rapporter ceci en tant qu'anomalie.
Vous pouvez générer un module de stratégie local pour autoriser cet accès.
Do
allow this access for now by executing:
# ausearch -c 'abrt-hook-ccpp' --raw | audit2allow -M my-abrthookccpp
# semodule -X 300 -i my-abrthookccpp.pp

Additional Information:
Source Context                system_u:system_r:abrt_dump_oops_t:s0
Target Context                system_u:system_r:kernel_t:s0
Target Objects                /run/abrt/abrt.socket [ unix_stream_socket ]
Source                        abrt-hook-ccpp
Source Path                   abrt-hook-ccpp
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           abrt-2.8.2-1.fc24.x86_64
Policy RPM                    selinux-policy-3.13.1-191.17.fc24.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.7.5-200.fc24.x86_64 #1 SMP Mon
                              Sep 26 21:25:47 UTC 2016 x86_64 x86_64
Alert Count                   2
First Seen                    2016-10-02 16:46:28 CEST
Last Seen                     2016-10-02 16:51:11 CEST
Local ID                      73e033a4-1742-4c90-a8ce-6b68377a6262

Raw Audit Messages
type=AVC msg=audit(1475419871.286:199): avc:  denied  { connectto } for  pid=1969 comm="abrt-hook-ccpp" path="/run/abrt/abrt.socket" scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=unix_stream_socket permissive=0


Hash: abrt-hook-ccpp,abrt_dump_oops_t,kernel_t,unix_stream_socket,connectto

Version-Release number of selected component:
selinux-policy-3.13.1-191.17.fc24.noarch

Additional info:
reporter:       libreport-2.7.2
hashmarkername: setroubleshoot
kernel:         4.7.5-200.fc24.x86_64
type:           libreport

Potential duplicate: bug 1297141

Comment 1 Lukas Vrabec 2016-10-03 10:40:34 UTC

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