Bug 458406 - Exim dovecot auth driver SELinux errors
Summary: Exim dovecot auth driver SELinux errors
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-08 01:15 UTC by Fred Wittekind IV
Modified: 2008-11-17 22:05 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-11-17 22:05:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
SE Linux rules added to make both Exim & Dovecot work with above config. (630 bytes, text/plain)
2008-08-08 01:15 UTC, Fred Wittekind IV
no flags Details

Description Fred Wittekind IV 2008-08-08 01:15:50 UTC
Created attachment 313765 [details]
SE Linux rules added to make both Exim & Dovecot work with above config.

Description of problem:
Unable to use dovecot auth inside of Exim

Version-Release number of selected component (if applicable):
dovecot-1.0.15-10.fc9.i386
exim-4.69-4.fc9.i386
selinux-policy-3.3.1-79.fc9.noarch

SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   enforcing
Mode from config file:          enforcing
Policy version:                 22
Policy from config file:        targeted


How reproducible:
100%

Steps to Reproduce:
1. Install / configure FreeIPA

2. Add following to exim config
begin authenticators
gssapi:
driver = dovecot
server_advertise_condition = yes
public_name = GSSAPI
server_socket = /var/run/dovecot/auth-client

3. Uncomment the following lines in dovecot config
  socket listen {
   client {
      path = /var/run/dovecot/auth-client
      user = dovecot
      group = exim
      mode = 0660
   }
  }

  
Actual results:
SELinux denies from both dovecot & exim

Expected results:
Auth via KRB5 ticket for IMAP & SMTP

Additional info:
Possibly a sebool would be nice to correct this, since not everyone is going to need this functionality. Attached local policy created to correct issue on my box.

Comment 1 Daniel Walsh 2008-08-08 14:16:27 UTC
These changes are good.

Fixed in selinux-policy-3.3.1-85.fc9.noarch

Comment 2 Daniel Walsh 2008-11-17 22:05:27 UTC
Closing all bugs that have been in modified for over a month.  Please reopen if the bug is not actually fixed.


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