From 0560bc18fbc199102228e62be2fc5a8bd16bb71e Mon Sep 17 00:00:00 2001 From: curiosityseeker <60518106+curiosityseeker@users.noreply.github.com> Date: Thu, 6 Apr 2023 13:10:22 +0200 Subject: [PATCH] Update run-parts --- apparmor.d/profiles-m-r/run-parts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/apparmor.d/profiles-m-r/run-parts b/apparmor.d/profiles-m-r/run-parts index 6cda94a4..b68614a7 100644 --- a/apparmor.d/profiles-m-r/run-parts +++ b/apparmor.d/profiles-m-r/run-parts @@ -15,10 +15,18 @@ profile run-parts @{exec_path} { @{exec_path} mr, + /{usr/,}bin/{,ba,da}sh rix, + /{usr/,}bin/nice rix, + /{usr/,}bin/snapper rix, + + /usr/share/update-notifier/notify-reboot-required rPx, /usr/share/update-notifier/notify-updates-outdated rPx, /etc/ r, + /etc/conf.d/snapper{,**} r, + /etc/passwd r, + # Crontab /etc/cron.{hourly,daily,weekly,monthly}/ r, @@ -48,7 +56,7 @@ profile run-parts @{exec_path} { /etc/cron.{hourly,daily,weekly,monthly}/sysstat rPx, /etc/cron.{hourly,daily,weekly,monthly}/tor rPUx, /etc/cron.{hourly,daily,weekly,monthly}/vrms rPUx, - /var/spool/anacron/cron.{hourly,daily,weekly,monthly} r, + /var/spool/anacron/cron.{hourly,daily,weekly,monthly} rw, # Network /etc/network/if-down.d/ r, @@ -117,6 +125,7 @@ profile run-parts @{exec_path} { /etc/kernel/prerm.d/dkms rCx -> kernel, owner /tmp/#[0-9]*[0-9] rw, + owner /tmp/$anacron* rw, /dev/tty[0-9]* rw,