Bug 1516521 - SELinux denies dovecot 'map' access to dovecot.index and dovecot.index.log files of type mail_home_rw_t, prevents it working
Summary: SELinux denies dovecot 'map' access to dovecot.index and dovecot.index.log fi...
Keywords:
Status: CLOSED DUPLICATE of bug 1513153
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:00 UTC by Adam Williamson
Modified: 2017-11-22 20:18 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description Adam Williamson 2017-11-22 20:00:32 UTC
After upgrading my mail server to Fedora 27, dovecot (IMAP server) does not work properly - it runs, but clients can't refresh folders reliably. This seems to be caused by SELinux denials like this:

Nov 22 11:40:18 mail.happyassassin.net audit[838]: AVC avc:  denied  { map } for  pid=838 comm="imap" path="/home/adamw/Maildir/dovecot.index" dev="vda3" ino=942391 scontext=system_u:system_r:dovecot_t:s0 tcontext=system_u:object_r:mail_home_rw_t:s0 tclass=file permissive=0

There are many denials for 'dovecot.index' files in various subdirectories (which represent mail folders, in maildir-style mail storage).

There are also similar denials for dovecot.index.log files, e.g.:

Nov 22 11:40:21 mail.happyassassin.net audit[838]: AVC avc:  denied  { map } for  pid=838 comm="imap" path="/home/adamw/Maildir/.Blog/dovecot.index" dev="vda3" ino=936911 scontext=system_u:system_r:dovecot_t:s0 tcontext=system_u:object_r:mail_home_rw_t:s0 tclass=file permissive=0

Comment 1 Adam Williamson 2017-11-22 20:18:57 UTC

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


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