| Summary: | Selinux policy update block zabbix agent | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Fabian Arrotin <fabian.arrotin> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED DUPLICATE | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.3 | CC: | lvrabec, mgrepl, mmalik, pasik, plautrba, pvrabec, ssekidde |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-28 09:24:04 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: | |
I believe that this bug is duplicate of BZ#1393332. *** This bug has been marked as a duplicate of bug 1393332 *** |
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