Fix zabbix_agentd context
PATCH 1/1 Fix zabbix_agentd context
The zabbix_agentd context was wrongfully set to the domain type instead of the _exec_t type.
Signed-off-by Sven Vermeulen <[email protected]>
--- policy/modules/services/zabbix.fc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
policy/modules/services/zabbix.fc +1 -1
@@ -2,7 +2,7 @@ /etc/rc\.d/init\.d/zabbix-agentd -- gen_context(system_u:object_r:zabbix_agent_initrc_exec_t,s0) /usr/(s)?bin/zabbix_server -- gen_context(system_u:object_r:zabbix_exec_t,s0) -/usr/(s)?bin/zabbix_agentd -- gen_context(system_u:object_r:zabbix_agent_t,s0) +/usr/(s)?bin/zabbix_agentd -- gen_context(system_u:object_r:zabbix_agent_exec_t,s0) /var/log/zabbix(/.*)? gen_context(system_u:object_r:zabbix_log_t,s0)
Signature · 1 line
1.7.3.4
PATCH 1/1 Fix zabbix_agentd context
Quoted 13 lines · Sven Vermeulen
The
zabbix_agentdcontext was wrongfully set to the domain type instead of the_exec_ttype.Signed-off-by Sven Vermeulen <[email protected]>--- policy/modules/services/zabbix.fc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)policy/modules/services/zabbix.fc +0
-0
policy/modules/services/zabbix.fc line 7
Quoted 7 lines
policy/modules/services/zabbix.fc +1
-1@@ -2,7 +2,7 @@ /etc/rc\.d/init\.d/zabbix-agentd -- gen_context(system_u:object_r:zabbix_agent_initrc_exec_t,s0) /usr/(s)?bin/zabbix_server -- gen_context(system_u:object_r:zabbix_exec_t,s0) -/usr/(s)?bin/zabbix_agentd -- gen_context(system_u:object_r:zabbix_agent_t,s0) +/usr/(s)?bin/zabbix_agentd -- gen_context(system_u:object_r:zabbix_agent_exec_t,s0) /var/log/zabbix(/.*)? gen_context(system_u:object_r:zabbix_log_t,s0)
Merged.
Signature · 3 lines
Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com