From dadfba923ab020323885b2343e833d52770c3ca8 Mon Sep 17 00:00:00 2001 From: Christian Ehrhardt Date: Wed, 7 Mar 2018 11:02:23 +0100 Subject: [PATCH] apparmor: add ro rule for sasl GSSAPI plugin on /etc/gss/mech.d/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If a system has sasl GSSAPI plugin available qemu with sasl support will try to read /etc/gss/mech.d/. It is required to allow that to let the modules fully work and it should be safe to do so as it only registers/configures plugins but has no secrets. Reviewed-by: Daniel P. Berrangé Acked-by: Jamie Strandboge Signed-off-by: Christian Ehrhardt --- examples/apparmor/libvirt-qemu | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/apparmor/libvirt-qemu b/examples/apparmor/libvirt-qemu index 950b042826..2c47652250 100644 --- a/examples/apparmor/libvirt-qemu +++ b/examples/apparmor/libvirt-qemu @@ -192,3 +192,7 @@ # silence refusals to open lttng files (see LP: #1432644) deny /dev/shm/lttng-ust-wait-* r, deny /run/shm/lttng-ust-wait-* r, + + # required for sasl GSSAPI plugin + /etc/gss/mech.d/ r, + /etc/gss/mech.d/* r,