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.
Summary:
SELinux is preventing /usr/libexec/dovecot/dovecot-lda "search" access on
/var/run/dovecot.
Detailed Description:
[deliver has a permissive type (postfix_local_t). This access was not denied.]
SELinux denied access requested by deliver. It is not expected that this access
is required by deliver and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.
Allowing Access:
You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.
Additional Information:
Source Context system_u:system_r:postfix_local_t:s0
Target Context system_u:object_r:dovecot_var_run_t:s0
Target Objects /var/run/dovecot [ dir ]
Source deliver
Source Path /usr/libexec/dovecot/dovecot-lda
Port <Unknown>
Host (removed)
Source RPM Packages dovecot-2.0-0.8.beta6.20100630.el6
Target RPM Packages dovecot-2.0-0.8.beta6.20100630.el6
Policy RPM selinux-policy-3.7.19-30.el6
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Plugin Name catchall
Host Name (removed)
Platform Linux (removed)
2.6.32-42.el6.x86_64 #1 SMP Wed Jun 30 15:15:28
EDT 2010 x86_64 x86_64
Alert Count 9
First Seen Thu 08 Jul 2010 08:15:06 AM CEST
Last Seen Thu 08 Jul 2010 08:55:09 AM CEST
Local ID 142b5aab-6bb1-43c2-ae98-19bee1feabc9
Line Numbers
Raw Audit Messages
node=(removed) type=AVC msg=audit(1278572109.830:33911): avc: denied { search } for pid=4608 comm="deliver" name="dovecot" dev=sda7 ino=5113417 scontext=system_u:system_r:postfix_local_t:s0 tcontext=system_u:object_r:dovecot_var_run_t:s0 tclass=dir
node=(removed) type=SYSCALL msg=audit(1278572109.830:33911): arch=c000003e syscall=42 success=yes exit=68719476864 a0=6 a1=7fff6bb328f0 a2=6e a3=7fff6bb32670 items=0 ppid=4607 pid=4608 auid=4294967295 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=4294967295 comm="deliver" exe="/usr/libexec/dovecot/dovecot-lda" subj=system_u:system_r:postfix_local_t:s0 key=(null)
Hash String generated from catchall,deliver,postfix_local_t,dovecot_var_run_t,dir,search
audit2allow suggests:
#============= postfix_local_t ==============
allow postfix_local_t dovecot_var_run_t:dir search;
i'm running fetchmail with configuration stated bellow, which produces selinux denials:
poll mail.corp.redhat.com port 993 plugin "openssl s_client -connect %h:%p"
protocol IMAP
user username there with pass xxxxxxxx is local-username
options fetchall
mda "/usr/libexec/dovecot/deliver"
*** Bug 616344 has been marked as a duplicate of this bug. ***
Comment 11releng-rhel@redhat.com
2010-11-10 21:35:12 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.