Merge pull request #7749 from dgoetz/bugfix/selinux_smtp_7733

SELinux: Allow direct smtp notifications
This commit is contained in:
Michael Friedrich 2020-01-14 12:06:21 +01:00 committed by GitHub
commit c019232007
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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)