From 7458518e5519aa5144162a666e4e758fbe05b6f1 Mon Sep 17 00:00:00 2001 From: Dirk Goetz Date: Tue, 24 Mar 2015 19:28:59 +0000 Subject: [PATCH] Selinux: added more nagios plugin contexts refs #8332 --- tools/selinux/icinga2.te | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/selinux/icinga2.te b/tools/selinux/icinga2.te index c94b23808..4bbcd6430 100644 --- a/tools/selinux/icinga2.te +++ b/tools/selinux/icinga2.te @@ -11,6 +11,9 @@ require { type nagios_mail_plugin_t; type nagios_mail_plugin_exec_t; type nagios_services_plugin_t; type nagios_services_plugin_exec_t; type nagios_system_plugin_t; type nagios_system_plugin_exec_t; + type nagios_unconfined_plugin_t; type nagios_unconfined_plugin_exec_t; + type nagios_eventhandler_plugin_t; type nagios_eventhandler_plugin_exec_t; + type nagios_openshift_plugin_t; type nagios_openshift_plugin_exec_t; type httpd_t; type system_mail_t; } @@ -101,6 +104,9 @@ icinga2_execstrans(nagios_checkdisk_plugin_exec_t, nagios_checkdisk_plugin_t) icinga2_execstrans(nagios_mail_plugin_exec_t, nagios_mail_plugin_t) icinga2_execstrans(nagios_services_plugin_exec_t, nagios_services_plugin_t) icinga2_execstrans(nagios_system_plugin_exec_t, nagios_system_plugin_t) +icinga2_execstrans(nagios_unconfined_plugin_exec_t, nagios_unconfined_plugin_t) +icinga2_execstrans(nagios_eventhandler_plugin_exec_t, nagios_eventhandler_plugin_t) +icinga2_execstrans(nagios_openshift_plugin_exec_t, nagios_openshift_plugin_t) # should be moved nagios.te nagios_plugin_template(notification)