Bug 1516523 - SELinux denies postfix 'read' access to dynamicmaps.cf.d directory
Summary: SELinux denies postfix 'read' access to dynamicmaps.cf.d directory
Keywords:
Status: CLOSED DUPLICATE of bug 1514868
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 27
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-22 20:04 UTC by Adam Williamson (Red Hat non-Fedora)
Modified: 2017-11-22 20:17 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-11-22 20:17:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Adam Williamson (Red Hat non-Fedora) 2017-11-22 20:04:10 UTC
After upgrading my mail server from Fedora 26 to 27, I see a Postfix-related denial which I believe is new:

Nov 22 11:40:15 mail.happyassassin.net audit[670]: AVC avc:  denied  { read } for  pid=670 comm="newaliases" name="dynamicmaps.cf.d" dev="vda3" ino=705901 scontext=system_u:system_r:sendmail_t:s0 tcontext=system_u:object_r:postfix_etc_t:s0 tclass=dir permissive=0

This I think is postfix's /usr/bin/newaliases being run on startup, trying to access the /etc/postfix/dynamicmaps.cf.d directory. I'm assuming this will prevent postfix from properly handly newly-created dynamic maps, or something along those lines.

Comment 1 Adam Williamson (Red Hat non-Fedora) 2017-11-22 20:17:40 UTC

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


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