Bug 1516523

Summary: SELinux denies postfix 'read' access to dynamicmaps.cf.d directory
Product: [Fedora] Fedora Reporter: Adam Williamson (Red Hat non-Fedora) <awilliam>
Component: selinux-policy-targetedAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: Ben Levenson <benl>
Severity: high Docs Contact:
Priority: unspecified    
Version: 27CC: dwalsh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-22 20:17:40 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 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 ***