Red Hat Bugzilla – Bug 1398721
Selinux policy update block zabbix agent
Last modified: 2016-12-09 10:06:51 EST
Description of problem: Since the update to selinux-policy-3.13.1-102.el7.noarch, trying to restart zabbix-agent fails as it's blocked by selinux : type=AVC msg=audit(1480001303.440:2626): avc: denied { setrlimit } for pid=22682 comm="zabbix_agentd" scontext=system_u:system_r:zabbix_agent_t:s0 tcontext=system_u:system_r:zabbix_agent_t:s0 tclass=process Version-Release number of selected component (if applicable): selinux-policy-3.13.1-102.el7.noarch Steps to Reproduce: 1. have a system running el7.2 and running zabbix-agent 2. update to el7.3 and reboot 3. zabbix-agent doesn't start Actual results: zabbix-agent fails to start Expected results: zabbix-agent able to start as before Additional info: Following .te (to build a custom .pp) allows zabbix-agent to start as before, while keeping selinux in enforcing mode require { type zabbix_agent_t; class process setrlimit; } #============= zabbix_agent_t ============== allow zabbix_agent_t self:process setrlimit; More information about a similar bug that happened for zabbix-server and reported to zabbix bug report (by someone else) : https://support.zabbix.com/browse/ZBX-10542
I believe that this bug is duplicate of BZ#1393332.
*** This bug has been marked as a duplicate of bug 1393332 ***