Bug 1038786

Summary: SELinux is prevening /usr/lib/cyrus-imapd/imapd from accessing /run/saslauthd/mux
Product: [Fedora] Fedora Reporter: Brad <brad>
Component: selinux-policy-targetedAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED EOL QA Contact: Ben Levenson <benl>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: dwalsh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-17 19:32:54 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:

Description Brad 2013-12-05 19:58:52 UTC
SELinux is preventing /usr/lib/cyrus-imapd/imapd from connectto access on the unix_stream_socket /run/saslauthd/mux.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that imapd should be allowed connectto access on the mux unix_stream_socket by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep imapd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp


Additional Information:
Source Context                system_u:system_r:cyrus_t:s0
Target Context                system_u:system_r:initrc_t:s0
Target Objects                /run/saslauthd/mux [ unix_stream_socket ]
Source                        imapd
Source Path                   /usr/lib/cyrus-imapd/imapd
Port                          <Unknown>
Host                          kolab.
Source RPM Packages           cyrus-imapd-2.4.17-2.fc19.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-74.14.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     kolab.
Platform                      Linux kolab.
                              3.11.9-200.fc19.x86_64 #1 SMP Wed Nov 20 21:22:24
                              UTC 2013 x86_64 x86_64
Alert Count                   326
First Seen                    2013-11-23 01:11:39 PST
Last Seen                     2013-12-05 11:30:38 PST
Local ID                      c66c6acd-c3af-42d2-9e81-f17307f0cb4d

Raw Audit Messages
type=AVC msg=audit(1386271838.324:656): avc:  denied  { connectto } for  pid=4940 comm="imapd" path="/run/saslauthd/mux" scontext=system_u:system_r:cyrus_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=unix_stream_socket


type=SYSCALL msg=audit(1386271838.324:656): arch=x86_64 syscall=connect success=yes exit=0 a0=13 a1=7fff04bd82c0 a2=6e a3=7fff04bd7f50 items=0 ppid=3540 pid=4940 auid=4294967295 uid=76 gid=12 euid=76 suid=76 fsuid=76 egid=12 sgid=12 fsgid=12 ses=4294967295 tty=(none) comm=imapd exe=/usr/lib/cyrus-imapd/imapd subj=system_u:system_r:cyrus_t:s0 key=(null)

Hash: imapd,cyrus_t,initrc_t,unix_stream_socket,connectto

Comment 1 Fedora End Of Life 2015-01-09 20:47:42 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Fedora End Of Life 2015-02-17 19:32:54 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.