Bug 1653024 - SELinux allow saslauthd to mmap it's own files
Summary: SELinux allow saslauthd to mmap it's own files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 29
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-24 16:23 UTC by Anthony Messina
Modified: 2019-01-17 02:17 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-01-17 02:17:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Anthony Messina 2018-11-24 16:23:48 UTC
AVC avc:  denied  { map } for  pid=690 comm="saslauthd" path="/run/saslauthd/cache.mmap" dev="tmpfs" ino=27073 scontext=system_u:system_r:saslauthd_t:s0 tcontext=system_u:object_r:saslauthd_var_run_t:s0 tclass=file permissive=1

audit2allow reports:
#!!!! This avc can be allowed using the boolean 'domain_can_mmap_files'
allow saslauthd_t saslauthd_var_run_t:file map;

It would be preferable to 
allow saslauthd_t saslauthd_var_run_t:file map;
in the upstream policy rather than enable domain_can_mmap_files for everything

Comment 1 Lukas Vrabec 2019-01-07 21:56:57 UTC
commit 37b3e84cdcb022353b17e31025b6be051d6bb1c4 (HEAD -> rawhide)
Author: Lukas Vrabec <lvrabec>
Date:   Mon Jan 7 22:56:35 2019 +0100

    Allow saslauthd_t domain to mmap own pid files BZ(1653024)

Comment 2 Fedora Update System 2019-01-13 15:45:27 UTC
selinux-policy-3.14.2-46.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-6a20cfef61

Comment 3 Fedora Update System 2019-01-14 03:03:36 UTC
selinux-policy-3.14.2-46.fc29 has been pushed to the Fedora 29 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-2019-6a20cfef61

Comment 4 Fedora Update System 2019-01-17 02:17:09 UTC
selinux-policy-3.14.2-46.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.


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