When using OpenDKIM with Postfix and a socket of localhost:8891, I receive the following AVCs: type=AVC msg=audit(1342882917.293:12089): avc: denied { getattr } for pid=31420 comm="cleanup" laddr=127.0.0.1 lport=34042 faddr=127.0.0.1 fport=8891 scontext=system_u:system_r:postfix_cleanup_t:s0 tcontext=system_u:system_r:postfix_smtpd_t:s0 tclass=tcp_socket type=SYSCALL msg=audit(1342882917.293:12089): arch=x86_64 syscall=getsockname success=yes exit=0 a0=10 a1=7fff5f7626d0 a2=7fff5f7626cc a3=0 items=0 ppid=31413 pid=31420 auid=4294967295 uid=89 gid=89 euid=89 suid=89 fsuid=89 egid=89 sgid=89 fsgid=89 tty=(none) ses=4294967295 comm=cleanup exe=/usr/libexec/postfix/cleanup subj=system_u:system_r:postfix_cleanup_t:s0 key=(null) ---- type=AVC msg=audit(1342882917.293:12090): avc: denied { getopt } for pid=31420 comm="cleanup" laddr=127.0.0.1 lport=34042 faddr=127.0.0.1 fport=8891 scontext=system_u:system_r:postfix_cleanup_t:s0 tcontext=system_u:system_r:postfix_smtpd_t:s0 tclass=tcp_socket type=SYSCALL msg=audit(1342882917.293:12090): arch=x86_64 syscall=getsockopt success=yes exit=0 a0=10 a1=6 a2=2 a3=7fff5f762698 items=0 ppid=31413 pid=31420 auid=4294967295 uid=89 gid=89 euid=89 suid=89 fsuid=89 egid=89 sgid=89 fsgid=89 tty=(none) ses=4294967295 comm=cleanup exe=/usr/libexec/postfix/cleanup subj=system_u:system_r:postfix_cleanup_t:s0 key=(null)
Are you seeing any breakage or is this just a leak, any reason for cleanup to use this tcp socket.
I am in permissive mode with this one so it works. I'm trying to use OpenDKIM which is running on 127.0.0.1:8891 as a milter, which is performed via Postfix's cleanup command -- man (8) cleanup.
Ok I allowed it in Rawhide.
Added to F17.
selinux-policy-3.10.0-142.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-142.fc17
Package selinux-policy-3.10.0-142.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-142.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-11215/selinux-policy-3.10.0-142.fc17 then log in and leave karma (feedback).
selinux-policy-3.10.0-142.fc17 fixes this issue.
Please update karma.
I did, just before leaving the feedback here ;) Bodhi: amessina - 2012-07-30 21:23:24
Thank you.
selinux-policy-3.10.0-142.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.