Bug 187011 - Dovecot pgsql/selinux policy missing
Dovecot pgsql/selinux policy missing
Product: Fedora
Classification: Fedora
Component: dovecot (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tomas Janousek
Depends On:
  Show dependency treegraph
Reported: 2006-03-27 19:41 EST by Adam H. Pendleton
Modified: 2014-01-21 17:53 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-02-14 16:12:44 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Policy created by audit2allow (415 bytes, text/plain)
2006-03-27 19:41 EST, Adam H. Pendleton
no flags Details

  None (edit)
Description Adam H. Pendleton 2006-03-27 19:41:39 EST
Description of problem:  Dovecot is compiled with postgresql support, but
SELinux does not allow tcp connections between dovecot and postgresql.

Version-Release number of selected component (if applicable): 1.0.0.beta2.7

How reproducible:  100%

Steps to Reproduce:
1. Configure dovecot to access postgresql on tcp port
2. Run dovecot
3. Look at /var/log/audit/audit.log
Actual results:
type=AVC msg=audit(1143505368.215:14): avc:  denied  { name_connect } for 
pid=3512 comm="dovecot-auth" dest=5432
tcontext=system_u:object_r:postgresql_port_t:s0 tclass=tcp_socket
type=AVC msg=audit(1143505368.215:14): avc:  denied  { recv_msg } for  pid=3512
comm="dovecot-auth" saddr= src=5432 daddr= dest=35472 netif=lo
tcontext=system_u:object_r:postgresql_port_t:s0 tclass=tcp_socket

Expected results:

Additional info:
Comment 1 Adam H. Pendleton 2006-03-27 19:41:40 EST
Created attachment 126867 [details]
Policy created by audit2allow
Comment 2 Tomas Janousek 2006-12-22 12:27:09 EST
This should be fixed in FC6, Daniel plans to fix it for FC5 as well.
Comment 3 Daniel Walsh 2007-02-14 16:12:44 EST
I am not updating FC5 at this point, Either upgrade to FC6 policy or use
audit2allow to generate local policy.

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