Bug 966849

Summary: Postfix and Queues not allowed to read/write on ports
Product: [Fedora] Fedora Reporter: Grosswiler Roger <roger>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-24 07:09:34 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:
Embargoed:

Description Grosswiler Roger 2013-05-24 06:22:57 UTC
Description of problem:

Postfix doesnt accept client connections, using submission. So no mail at all can be sent by submission-auth


Version-Release number of selected component (if applicable):
selinux-policy-3.11.1-95.fc18.noarch

How reproducible:
Always


Steps to Reproduce:
1. Set client-auth to submission in Postfix
2. Let clients authorize themselves by smtp
3. fail

Actual results:

type=AVC msg=audit(1369375553.773:4207): avc:  denied  { read write } for  pid=13898 comm="smtpd" name="inet.smtp" dev="vda4" ino=129629 scontext=system_u:system_r:post
fix_smtpd_t:s0 tcontext=system_u:object_r:postfix_var_run_t:s0 tclass=file
type=SYSCALL msg=audit(1369375553.773:4207): arch=c000003e syscall=2 success=no exit=-13 a0=7ffe2acbf480 a1=2 a2=0 a3=11 items=0 ppid=1211 pid=13898 auid=4294967295 uid
=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm="smtpd" exe="/usr/libexec/postfix/smtpd" subj=system_u:system_r:postfix_smtpd_t:s0 k
ey=(null)
type=AVC msg=audit(1369375566.811:4208): avc:  denied  { read write } for  pid=13928 comm="smtpd" name="inet.submission" dev="vda4" ino=129235 scontext=system_u:system_
r:postfix_smtpd_t:s0 tcontext=system_u:object_r:postfix_var_run_t:s0 tclass=file
type=SYSCALL msg=audit(1369375566.811:4208): arch=c000003e syscall=2 success=no exit=-13 a0=7f538e870540 a1=2 a2=0 a3=11 items=0 ppid=1211 pid=13928 auid=4294967295 uid
=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm="smtpd" exe="/usr/libexec/postfix/smtpd" subj=system_u:system_r:postfix_smtpd_t:s0 k
ey=(null)
type=AVC msg=audit(1369375614.888:4209): avc:  denied  { read write } for  pid=13939 comm="cleanup" name="unix.cleanup" dev="vda4" ino=129630 scontext=system_u:system_r
:postfix_cleanup_t:s0 tcontext=system_u:object_r:postfix_var_run_t:s0 tclass=file
type=SYSCALL msg=audit(1369375614.888:4209): arch=c000003e syscall=2 success=no exit=-13 a0=7fcd88e07260 a1=2 a2=0 a3=11 items=0 ppid=1211 pid=13939 auid=4294967295 uid
=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm="cleanup" exe="/usr/libexec/postfix/cleanup" subj=system_u:system_r:postfix_cleanup_
t:s0 key=(null)
type=AVC msg=audit(1369375614.896:4210): avc:  denied  { read write } for  pid=13940 comm="smtpd" name="inet.smtp" dev="vda4" ino=129629 scontext=system_u:system_r:post
fix_smtpd_t:s0 tcontext=system_u:object_r:postfix_var_run_t:s0 tclass=file
type=SYSCALL msg=audit(1369375614.896:4210): arch=c000003e syscall=2 success=no exit=-13 a0=7f968333f480 a1=2 a2=0 a3=11 items=0 ppid=1211 pid=13940 auid=4294967295 uid
=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm="smtpd" exe="/usr/libexec/postfix/smtpd" subj=system_u:system_r:postfix_smtpd_t:s0 k
ey=(null)
type=AVC msg=audit(1369375627.937:4211): avc:  denied  { read write } for  pid=13970 comm="smtpd" name="inet.submission" dev="vda4" ino=129235 scontext=system_u:system_
r:postfix_smtpd_t:s0 tcontext=system_u:object_r:postfix_var_run_t:s0 tclass=file
type=SYSCALL msg=audit(1369375627.937:4211): arch=c000003e syscall=2 success=no exit=-13 a0=7f30338d6540 a1=2 a2=0 a3=11 items=0 ppid=1211 pid=13970 auid=4294967295 uid
=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm="smtpd" exe="/usr/libexec/postfix/smtpd" subj=system_u:system_r:postfix_smtpd_t:s0 k
ey=(null)


Expected results:
working auth

Additional info:

Comment 1 Miroslav Grepl 2013-05-24 07:09:34 UTC
It has been fixed. PLease update to the latest F18 policy.