diff --git a/profiles/apparmor.d/lsb_release b/profiles/apparmor.d/lsb_release index 6e515cd7d..3d57896f1 100644 --- a/profiles/apparmor.d/lsb_release +++ b/profiles/apparmor.d/lsb_release @@ -14,6 +14,9 @@ profile lsb_release { include include + # Hardcode the path due to omission of attachment + /usr/bin/lsb_release r, + owner @{PROC}/@{pid}/fd/ r, /dev/tty rw, diff --git a/profiles/apparmor.d/nvidia_modprobe b/profiles/apparmor.d/nvidia_modprobe index 6ba5eb3fa..501ee560e 100644 --- a/profiles/apparmor.d/nvidia_modprobe +++ b/profiles/apparmor.d/nvidia_modprobe @@ -15,6 +15,8 @@ profile nvidia_modprobe { capability sys_admin, # Main executable + # Hardcode the path due to omission of attachment + /usr/bin/nvidia-modprobe mr, # Other executables