Bug 1276720

Summary: SELinux is preventing abrt-hook-ccpp from 'read' accesses on the file NetworkManager.
Product: [Fedora] Fedora Reporter: Joachim Frieben <jfrieben>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dominick.grift, dwalsh, lvrabec, mgrepl, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:4995e46a3f9a7887658466385c18fb2183321d5ac11ac4426a192dab537713bb;VARIANT_ID=workstation;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-09 10:47:49 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 Joachim Frieben 2015-10-30 16:00:46 UTC
Description of problem:
SELinux is preventing abrt-hook-ccpp from 'read' accesses on the file NetworkManager.

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

If you believe that abrt-hook-ccpp should be allowed read access on the NetworkManager file 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 abrt-hook-ccpp /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:abrt_dump_oops_t:s0
Target Context                system_u:object_r:NetworkManager_exec_t:s0
Target Objects                NetworkManager [ file ]
Source                        abrt-hook-ccpp
Source Path                   abrt-hook-ccpp
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-156.fc24.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.3.0-0.rc7.git2.2.fc24.x86_64 #1
                              SMP Wed Oct 28 19:23:26 UTC 2015 x86_64 x86_64
Alert Count                   2
First Seen                    2015-10-30 16:41:27 CET
Last Seen                     2015-10-30 16:47:36 CET
Local ID                      0eff208e-521b-4825-977d-c30fcdc8cc82

Raw Audit Messages
type=AVC msg=audit(1446220056.464:644): avc:  denied  { read } for  pid=4485 comm="abrt-hook-ccpp" name="NetworkManager" dev="dm-0" ino=413891 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_u:object_r:NetworkManager_exec_t:s0 tclass=file permissive=0


Hash: abrt-hook-ccpp,abrt_dump_oops_t,NetworkManager_exec_t,file,read

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

Additional info:
reporter:       libreport-2.6.3
hashmarkername: setroubleshoot
kernel:         4.3.0-0.rc7.git2.2.fc24.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2015-11-09 10:47:49 UTC

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