diff --git a/apparmor.d/profiles-s-z/whereis b/apparmor.d/profiles-s-z/whereis index e7bc743a5..4a1293c0a 100644 --- a/apparmor.d/profiles-s-z/whereis +++ b/apparmor.d/profiles-s-z/whereis @@ -27,8 +27,8 @@ profile whereis @{exec_path} { /usr/src/{**,} r, /opt/ r, - /opt/cni/bin/ r, - /opt/containerd/bin/ r, + /opt/**/bin/ r, + /opt/**/lib/ r, @{etc_ro}/ r,