Bug 1381030 - SELinux is preventing abrt-hook-ccpp from 'connectto' accesses on the unix_stream_socket /run/abrt/abrt.socket.
Summary: SELinux is preventing abrt-hook-ccpp from 'connectto' accesses on the unix_st...
Keywords:
Status: CLOSED DUPLICATE of bug 1297141
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: abrt
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:554ea8cf5ebe3e72038532d54d4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-02 14:52 UTC by Sylvain Réault
Modified: 2016-10-03 10:40 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-03 10:40:34 UTC
Type: ---


Attachments (Terms of Use)

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 ***


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