Skip to contentSkip to conversation

Fix zabbix_agentd context

PATCH New Sven Vermeulen 2 participants 2 messages Aug 23, 2011 – Aug 24, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix zabbix_agentd context

The zabbix_agentd context was wrongfully set to the domain type instead of the _exec_t type.

---
 policy/modules/services/zabbix.fc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
policy/modules/services/zabbix.fc +1 -1
index 664cd7a..aa5a521 100644
@@ -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
#1 lore raw

PATCH 1/1 Fix zabbix_agentd context

Quoted 13 lines · Sven Vermeulen

The zabbix_agentd context was wrongfully set to the domain type instead of the _exec_t type.

---
 policy/modules/services/zabbix.fc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
policy/modules/services/zabbix.fc +0 -0
index 664cd7a..aa5a521 100644

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