Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
sorry for the late reply.
Can't do that Dan, this occurs on (at least) 3 production machines and I'm not willing to put an in-testing policy on a production machine
Well you can install a policy module to allow the access if you want
# cat mydovecot.te
policy_module(mydovecot, 1.0)
gen_require(`
type dovecot_t;
')
mta_manage_home_rw(dovecot_t)
# make -f /usr/share/selinux/devel/Makefile
# semodule -i mydovecot.pp
Should fix the AVC.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2013-0314.html
Description of problem: dovecot can't access ~/Maildir Version-Release number of selected component (if applicable): selinux-policy-3.7.19-155.el6_3.noarch dovecot-2.0.9-2.el6_1.1.x86_64 How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: type=AVC msg=audit(1343199481.479:54157): avc: denied { read } for pid=25571 comm="imap" name="Maildir" dev=dm-2 ino=9175805 scontext=unconfined_u:system_r:dovecot_t:s0 tcontext=unconfined_u:object_r:mail_home_rw_t:s0 tclass=dir type=SYSCALL msg=audit(1343199481.479:54157): arch=c000003e syscall=21 success=no exit=-13 a0=704250 a1=4 a2=6daac0 a3=fffffffb items=0 ppid=25550 pid=25571 auid=0 uid=503 gid=503 euid=503 suid=503 fsuid=503 egid=503 sgid=503 fsgid=503 tty=(none) ses=3543 comm="imap" exe="/usr/libexec/dovecot/imap" subj=unconfined_u:system_r:dovecot_t:s0 key=(null) Expected results: Additional info: