Drop d/p/apparmor-Allow-virt-aa-helper-to-access-the-name-service-.patch
The abstraction brings too much permissions, see discussion when upstreaming the change: https://www.redhat.com/archives/libvir-list/2020-August/msg00099.html (To me) with libvirt >=6.0 (actually even with the old versions, maybe kernel dependent) this isn't reproducible anymore. We should drop the rule and once anyone can reproduce it again we can try if we either want to go with: # virt-aa-helper dependent libraries read (and if successful, other # files) this but virt-aa-helper itself doesn't require the access, # so silence the denial. deny /etc/nsswitch.conf r, Or allowing a very reduced set (Ubuntu had that for a short while): # virt-aa-helper dependent libraries might read nss info, but do not # need full nameservice access. /etc/gai.conf r, /etc/hosts r, /etc/host.conf r, /etc/nsswitch.conf r, Signed-off-by:Christian Ehrhardt <christian.ehrhardt@canonical.com>
Please register or sign in to comment