Hide Forgot
Description of problem: type=AVC msg=audit(1328891806.142:24718): avc: denied { name_connect } for pid=1490 comm="zabbix_server_m" dest=25 scontext=system_u:system_r:zabbix_t:s0 tcontext=system_u:object_r:smtp_port_t:s0 tclass=tcp_socket This prevent zabbix from sending email alerts. # getsebool -a | grep zabb httpd_can_connect_zabbix --> on zabbix_can_network --> on Version-Release number of selected component (if applicable): selinux-policy-3.10.0-75.fc16.noarch
We are allowing it to connect to all ports > 1024. I guess you want it to connect to all ports.
Well, I at least need it to be able to connect to port 25 :). But for it to be able to monitor any network service, it probably needs to be able to connect to anything.
Yes, I changed the boolean.
selinux-policy-3.10.0-78.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-78.fc16
Package selinux-policy-3.10.0-78.fc16: * should fix your issue, * was pushed to the Fedora 16 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-78.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-2733/selinux-policy-3.10.0-78.fc16 then log in and leave karma (feedback).
Still seeing them with -78: type=AVC msg=audit(1330622132.105:98): avc: denied { name_connect } for pid=1292 comm="zabbix_server_m" dest=25 scontext=system_u:system_r:zabbix_t:s0 tcontext=system_u:object_r:smtp_port_t:s0 tclass=tcp_socket httpd_can_connect_zabbix --> on zabbix_can_network --> on
Oops, I changed it only in F17. commit c169976a5487aa134bdf92af5d2a0a06c28e75b7 Author: Miroslav Grepl <mgrepl> Date: Fri Mar 2 09:49:10 2012 +0000 Change zabbix_can_network boolean
Package selinux-policy-3.10.0-80.fc16: * should fix your issue, * was pushed to the Fedora 16 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-80.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-2733/selinux-policy-3.10.0-80.fc16 then log in and leave karma (feedback).
selinux-policy-3.10.0-80.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.