From: Christian Ehrhardt Date: Wed, 7 Mar 2018 10:02:23 +0000 (+0100) Subject: apparmor: add ro rule for sasl GSSAPI plugin on /etc/gss/mech.d/ X-Git-Tag: v4.2.0-rc1~231 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dadfba923ab020323885b2343e833d52770c3ca8;p=thirdparty%2Flibvirt.git apparmor: add ro rule for sasl GSSAPI plugin on /etc/gss/mech.d/ 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 --- 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,