From 789ba3836ee6f654d56159cbe156bb230c0e884f Mon Sep 17 00:00:00 2001 From: REmerald <55359236+REmerald@users.noreply.github.com> Date: Mon, 3 Jun 2024 17:58:39 +0000 Subject: [PATCH] fix(kmod): add `/run/modprobe.d` --- apparmor.d/profiles-g-l/kmod | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apparmor.d/profiles-g-l/kmod b/apparmor.d/profiles-g-l/kmod index 0ae2ba62..4dbb2de6 100644 --- a/apparmor.d/profiles-g-l/kmod +++ b/apparmor.d/profiles-g-l/kmod @@ -34,6 +34,8 @@ profile kmod @{exec_path} flags=(attach_disconnected) { @{lib}/modprobe.d/{,*.conf} r, @{lib}/modules/*/modules.* rw, + @{run}/modprobe.d/{,*.conf} r, + /etc/depmod.d/{,**} r, /etc/modprobe.d/{,*.conf} r,