Bug 601655 - SELinux is preventing /usr/libexec/dovecot/deliver "read" access on /var/spool/mqueue/dfo58AL71D027807.
Summary: SELinux is preventing /usr/libexec/dovecot/deliver "read" access on /var...
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
(Show other bugs)
Version: 13
Hardware: x86_64 Linux
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
Whiteboard: setroubleshoot_trace_hash:a26cc9cf728...
Depends On:
TreeView+ depends on / blocked
Reported: 2010-06-08 12:22 UTC by Joel James Adamson
Modified: 2010-06-23 17:48 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.7.19-28.fc13
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-06-23 17:48:39 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Joel James Adamson 2010-06-08 12:22:36 UTC

SELinux is preventing /usr/libexec/dovecot/deliver "read" access on

Detailed Description:

[deliver has a permissive type (dovecot_deliver_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

Additional Information:

Source Context                system_u:system_r:dovecot_deliver_t:s0
Target Context                system_u:object_r:mqueue_spool_t:s0
Target Objects                /var/spool/mqueue/dfo58AL71D027807 [ file ]
Source                        deliver
Source Path                   /usr/libexec/dovecot/deliver
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           dovecot-1.2.11-3.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.19-21.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                     #1 SMP Thu May 27
                              02:28:31 UTC 2010 x86_64 x86_64
Alert Count                   52
First Seen                    Mon 07 Jun 2010 05:40:04 PM EDT
Last Seen                     Tue 08 Jun 2010 06:21:08 AM EDT
Local ID                      2925ace5-449f-4115-be7d-a652eea6ff36
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1275992468.474:35668): avc:  denied  { read } for  pid=27810 comm="deliver" path="/var/spool/mqueue/dfo58AL71D027807" dev=dm-0 ino=78240 scontext=system_u:system_r:dovecot_deliver_t:s0 tcontext=system_u:object_r:mqueue_spool_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1275992468.474:35668): arch=c000003e syscall=59 success=yes exit=0 a0=16a8550 a1=16a8590 a2=16a77b0 a3=7fffb2891360 items=0 ppid=27809 pid=27810 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/deliver" subj=system_u:system_r:dovecot_deliver_t:s0 key=(null)

Hash String generated from  catchall,deliver,dovecot_deliver_t,mqueue_spool_t,file,read
audit2allow suggests:

#============= dovecot_deliver_t ==============
allow dovecot_deliver_t mqueue_spool_t:file read;

Comment 1 Daniel Walsh 2010-06-08 12:44:10 UTC
Miroslav,  I guess we need

Comment 2 Miroslav Grepl 2010-06-08 12:52:27 UTC
Yes, it looks so.

Added to selinux-policy-3.7.19-25.fc13

Comment 3 Fedora Update System 2010-06-14 19:30:11 UTC
selinux-policy-3.7.19-28.fc13 has been submitted as an update for Fedora 13.

Comment 4 Fedora Update System 2010-06-15 16:00:10 UTC
selinux-policy-3.7.19-28.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-28.fc13

Comment 5 Fedora Update System 2010-06-23 17:47:05 UTC
selinux-policy-3.7.19-28.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

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