mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 09:17:52 +03:00
Apparmor: Allow reading /etc/ssl/openssl.cnf
I noticed the following denial when running confined VMs with the QEMU driver type=AVC msg=audit(1623865089.263:865): apparmor="DENIED" operation="open" \ profile="virt-aa-helper" name="/etc/ssl/openssl.cnf" pid=12503 \ comm="virt-aa-helper" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 Allow reading the file by including the openssl abstraction in the virt-aa-helper profile. Signed-off-by: Jim Fehlig <jfehlig@suse.com> Reviewed-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
This commit is contained in:
parent
f552e68d9f
commit
64ae7635e6
@ -2,6 +2,7 @@
|
||||
|
||||
profile virt-aa-helper @libexecdir@/virt-aa-helper {
|
||||
#include <abstractions/base>
|
||||
#include <abstractions/openssl>
|
||||
|
||||
# needed for searching directories
|
||||
capability dac_override,
|
||||
|
Loading…
Reference in New Issue
Block a user