From cd93d98bf408b7225306bb325d16ecb68d9ad868 Mon Sep 17 00:00:00 2001 From: Jeroen Rijken Date: Sat, 30 Jul 2022 23:02:48 +0200 Subject: [PATCH] Add support for adding snapshots to grub. --- apparmor.d/profiles-s-z/zsysd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apparmor.d/profiles-s-z/zsysd b/apparmor.d/profiles-s-z/zsysd index 4d5b7b61..8862b59c 100644 --- a/apparmor.d/profiles-s-z/zsysd +++ b/apparmor.d/profiles-s-z/zsysd @@ -19,7 +19,10 @@ profile zsysd @{exec_path} flags=(complain) { interface=org.freedesktop.PolicyKit1.Authority member=CheckAuthorization, - @{exec_path} rmix, + @{exec_path} rmix, + /{usr/,}{local/,}{s,}bin/zfs rPx, + /{usr/,}{local/,}{s,}bin/zpool rPx, + /{usr/,}{s,}bin/update-grub rPUx, /etc/hostid r, /etc/zsys.conf r,