From 06319896b3b370bf2a2f33fd5f045dfbe6234afa Mon Sep 17 00:00:00 2001 From: Kenton Groombridge Date: Tue, 17 May 2022 13:47:20 -0400 Subject: [PATCH] certbot: various fixes Allow acme-sh to send syslog msgs and dontaudit reading /proc. Signed-off-by: Kenton Groombridge --- policy/modules/services/certbot.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/policy/modules/services/certbot.te b/policy/modules/services/certbot.te index ac609795f..9723f7880 100644 --- a/policy/modules/services/certbot.te +++ b/policy/modules/services/certbot.te @@ -69,6 +69,7 @@ allow certbot_t certbot_log_t:file manage_file_perms; manage_files_pattern(certbot_t, certbot_runtime_t, certbot_runtime_t) files_runtime_filetrans(certbot_t, certbot_runtime_t, file) +kernel_dontaudit_read_system_state(certbot_t) kernel_search_fs_sysctls(certbot_t) corecmd_list_bin(certbot_t) @@ -108,6 +109,8 @@ userdom_use_user_ptys(certbot_t) tunable_policy(`certbot_acmesh',` corecmd_exec_bin(certbot_t) corecmd_exec_shell(certbot_t) + + logging_send_syslog_msg(certbot_t) ') optional_policy(`