Bug 1589663

Summary: SELinux is preventing abrt-action-gen from map access on the file 2F686F6D652F6D696B6861696C2F2E6C6F63616C2F73686172652F537465616D2F737465616D617070732F636F6D6D6F6E2F496E7465727374656C6C6172204D6172696E65732F496E7465727374656C6C61724D6172696E65732E783634.
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: 29CC: dwalsh, lvrabec, mgrepl, plautrba, pmoore
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: selinux-policy-3.14.2-34.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-12 02:56:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mikhail 2018-06-11 06:22:43 UTC
SELinux is preventing abrt-action-gen from map access on the file 2F686F6D652F6D696B6861696C2F2E6C6F63616C2F73686172652F537465616D2F737465616D617070732F636F6D6D6F6E2F496E7465727374656C6C6172204D6172696E65732F496E7465727374656C6C61724D6172696E65732E783634.

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

If you believe that abrt-action-gen should be allowed map access on the 2F686F6D652F6D696B6861696C2F2E6C6F63616C2F73686172652F537465616D2F737465616D617070732F636F6D6D6F6E2F496E7465727374656C6C6172204D6172696E65732F496E7465727374656C6C61724D6172696E65732E783634 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:
# ausearch -c 'abrt-action-gen' --raw | audit2allow -M my-abrtactiongen
# semodule -X 300 -i my-abrtactiongen.pp

Additional Information:
Source Context                system_u:system_r:abrt_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:data_home_t:s0
Target Objects                2F686F6D652F6D696B6861696C2F2E6C6F63616C2F73686172
                              652F537465616D2F737465616D617070732F636F6D6D6F6E2F
                              496E7465727374656C6C6172204D6172696E65732F496E7465
                              727374656C6C61724D6172696E65732E783634 [ file ]
Source                        abrt-action-gen
Source Path                   abrt-action-gen
Port                          <Unknown>
Host                          localhost.localdomain
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.2-23.fc29.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     localhost.localdomain
Platform                      Linux localhost.localdomain
                              4.18.0-0.rc0.git5.1.fc29.x86_64 #1 SMP Sat Jun 9
                              02:02:14 UTC 2018 x86_64 x86_64
Alert Count                   1
First Seen                    2018-06-11 11:17:34 +05
Last Seen                     2018-06-11 11:17:34 +05
Local ID                      5485ab0d-bedd-4f78-95d9-a474540c6309

Raw Audit Messages
type=AVC msg=audit(1528697854.266:450): avc:  denied  { map } for  pid=29037 comm="abrt-action-gen" path=2F686F6D652F6D696B6861696C2F2E6C6F63616C2F73686172652F537465616D2F737465616D617070732F636F6D6D6F6E2F496E7465727374656C6C6172204D6172696E65732F496E7465727374656C6C61724D6172696E65732E783634 dev="sdc" ino=17480010900 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:data_home_t:s0 tclass=file permissive=1


Hash: abrt-action-gen,abrt_t,data_home_t,file,map

Comment 1 Jan Kurik 2018-08-14 11:18:41 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 2 Fedora Update System 2018-09-11 12:49:57 UTC
selinux-policy-3.14.2-34.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-db240a1726

Comment 3 Fedora Update System 2018-09-12 02:56:12 UTC
selinux-policy-3.14.2-34.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.