Bug 1552765

Summary: SELinux is preventing ABRT a map access to /tmp /var/tmp
Product: [Fedora] Fedora Reporter: Martin Kutlak <mkutlak>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: dwalsh, lvrabec, mgrepl, plautrba, pmoore
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.13.1-283.28.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-20 18:17:35 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:
Attachments:
Description Flags
avc denied map access for abrt none

Description Martin Kutlak 2018-03-07 17:04:47 UTC
Created attachment 1405468 [details]
avc denied map access for abrt

Description of problem:
After a failed test on test machine I've checked the logs and found a lot of avc denials for map access to /var/tmp and /tmp dirs. 

Version-Release number of selected component (if applicable):
selinux-policy-3.13.1-283.26.fc27.noarch

type=AVC msg=audit(1520410434.228:3016): avc:  denied  { map } for  pid=5899 comm="abrt-hook-ccpp" path="/tmp/tmp.ie6uqeMFX9/morituri" dev="dm-0" ino=53880 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file permissive=0

type=AVC msg=audit(1520410434.719:3017): avc:  denied  { map } for  pid=5945 comm="eu-unstrip" path="/tmp/tmp.ie6uqeMFX9/morituri" dev="dm-0" ino=53880 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file permissive=0

type=AVC msg=audit(1520410435.977:3023): avc:  denied  { map } for  pid=6154 comm="abrt-hook-ccpp" path="/tmp/tmp.ie6uqeMFX9/morituri" dev="dm-0" ino=53880 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file permissive=0

type=AVC msg=audit(1520410435.980:3024): avc:  denied  { map } for  pid=6154 comm="abrt-hook-ccpp" path="/tmp/tmp.ie6uqeMFX9/morituri" dev="dm-0" ino=53880 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file permissive=0

type=AVC msg=audit(1520410436.481:3027): avc:  denied  { map } for  pid=6200 comm="eu-unstrip" path="/tmp/tmp.ie6uqeMFX9/morituri" dev="dm-0" ino=53880 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file permissive=0

I've attached the complete output of 'ausearch -m avc,user_avc,selinux_err | grep " map "'

Comment 1 Fedora Update System 2018-03-12 18:13:05 UTC
selinux-policy-3.13.1-283.28.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-32ebae3424

Comment 2 Fedora Update System 2018-03-12 18:19:28 UTC
selinux-policy-3.13.1-283.28.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-32ebae3424

Comment 3 Fedora Update System 2018-03-14 01:36:01 UTC
selinux-policy-3.13.1-283.28.fc27 has been pushed to the Fedora 27 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-2018-32ebae3424

Comment 4 Fedora Update System 2018-03-20 18:17:35 UTC
selinux-policy-3.13.1-283.28.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.