]> granicus.if.org Git - icinga2/commitdiff
Selinux: added more nagios plugin contexts
authorDirk Goetz <dirk.goetz@netways.de>
Tue, 24 Mar 2015 19:28:59 +0000 (19:28 +0000)
committerMichael Friedrich <michael.friedrich@netways.de>
Mon, 1 Jun 2015 11:25:58 +0000 (13:25 +0200)
refs #8332

tools/selinux/icinga2.te

index c94b238081e87772cf16ddc3d21e0904874fc9e8..4bbcd64302afcf3f7bf0bf4fe69be9ef992b1fd4 100644 (file)
@@ -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)