From 32ed63a740d95522a3056a1e54dce05ffa3d25a8 Mon Sep 17 00:00:00 2001 From: Sven Vermeulen Date: Tue, 23 Aug 2011 13:24:56 +0200 Subject: [PATCH] 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 --- policy/modules/services/zabbix.fc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/modules/services/zabbix.fc b/policy/modules/services/zabbix.fc index 664cd7ad9..aa5a5211a 100644 --- a/policy/modules/services/zabbix.fc +++ b/policy/modules/services/zabbix.fc @@ -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)