Bug 1376868

Summary: SELinux is preventing abrt-hook-ccpp from 'kill' accesses on the cap_userns Unknown.
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: danie.dejager, dominick.grift, dwalsh, lvrabec, mgrepl, mschorm, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:eea9f078f13157e098f35adb2a2f381164ca5d9785ecbf6e6268a2c7b6969d02;VARIANT_ID=workstation;
Fixed In Version: selinux-policy-3.13.1-216.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-07 03:35:04 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 Mikhail 2016-09-16 17:00:15 UTC
Description of problem:
SELinux is preventing abrt-hook-ccpp from 'kill' accesses on the cap_userns Unknown.

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

If you believe that abrt-hook-ccpp should be allowed kill access on the Unknown cap_userns 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 '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:abrt_dump_oops_t:s0
Target Objects                Unknown [ cap_userns ]
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-214.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed)
                              4.8.0-0.rc6.git0.1.fc25.x86_64+debug #1 SMP Mon
                              Sep 12 18:52:30 UTC 2016 x86_64 x86_64
Alert Count                   13
First Seen                    2016-08-31 16:38:37 YEKT
Last Seen                     2016-09-16 21:44:41 YEKT
Local ID                      c920b24d-8444-43f5-b26f-cd1c4c0e2374

Raw Audit Messages
type=AVC msg=audit(1474044281.335:2902): avc:  denied  { kill } for  pid=12404 comm="abrt-hook-ccpp" capability=5  scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_u:system_r:abrt_dump_oops_t:s0 tclass=cap_userns permissive=1


Hash: abrt-hook-ccpp,abrt_dump_oops_t,abrt_dump_oops_t,cap_userns,kill

Version-Release number of selected component:
selinux-policy-3.13.1-214.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.8.0-0.rc6.git0.1.fc25.x86_64+debug
type:           libreport

Potential duplicate: bug 1371191

Comment 1 Lukas Vrabec 2016-09-19 08:41:07 UTC
*** Bug 1371191 has been marked as a duplicate of this bug. ***

Comment 2 Mikhail 2016-09-22 15:24:13 UTC
Description of problem:
Crashed Google Chrome

Version-Release number of selected component:
selinux-policy-3.13.1-214.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.8.0-0.rc7.git0.1.fc25.x86_64+debug
type:           libreport

Comment 3 Fedora Admin XMLRPC Client 2016-09-27 15:05:10 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Fedora Update System 2016-10-05 01:54:33 UTC
selinux-policy-3.13.1-216.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-b596fd5579

Comment 5 Fedora Update System 2016-10-07 03:35:04 UTC
selinux-policy-3.13.1-216.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.