From a3a3736692c6f80e5fe9b5f7b18d9b8109ae91e4 Mon Sep 17 00:00:00 2001 From: Dirk Goetz Date: Mon, 13 Jan 2020 16:56:58 +0100 Subject: [PATCH] SELinux: Allow direct smtp notifications Fixes #7733 --- tools/selinux/icinga2.te | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/selinux/icinga2.te b/tools/selinux/icinga2.te index 9440c7cec..17b1825a9 100644 --- a/tools/selinux/icinga2.te +++ b/tools/selinux/icinga2.te @@ -1,4 +1,4 @@ -policy_module(icinga2, 0.2.0) +policy_module(icinga2, 0.2.1) ######################################## # @@ -175,6 +175,8 @@ optional_policy(` mta_send_mail(nagios_notification_plugin_t) ') icinga2_dontaudit_leaks_fifo(system_mail_t) +# direct smtp notification +corenet_tcp_connect_smtp_port(nagios_notification_plugin_t) # hipsaint notification auth_read_passwd(nagios_notification_plugin_t) sysnet_read_config(nagios_notification_plugin_t)