From 92a370210dbd3df668944e0bdb9d41045fff74b4 Mon Sep 17 00:00:00 2001 From: Jose Maldonado aka Yukiteru Date: Mon, 6 May 2024 18:39:24 -0400 Subject: [PATCH] Fix exec for exim4 for anacron (default config Debian Stable) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On default installation on Debian Stable (12) anacron run tasks and when finish all them, run exim4 for send info via mail. The actual profile donĀ“t permit this behaviour and fail sending info for all task finished for mail configurated. --- apparmor.d/profiles-a-f/anacron | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apparmor.d/profiles-a-f/anacron b/apparmor.d/profiles-a-f/anacron index d813c2d6..40f14779 100644 --- a/apparmor.d/profiles-a-f/anacron +++ b/apparmor.d/profiles-a-f/anacron @@ -17,6 +17,7 @@ profile anacron @{exec_path} { @{sh_path} rix, @{bin}/run-parts rCx -> run-parts, + @{bin}/exim4 rPx, / r, /etc/anacrontab r, @@ -42,4 +43,4 @@ profile anacron @{exec_path} { } include if exists -} \ No newline at end of file +}