From 59249778705693e54df21710116ae213b194fa50 Mon Sep 17 00:00:00 2001 From: Jamie Strandboge Date: Wed, 20 Dec 2017 11:56:43 +0100 Subject: [PATCH] apparmor, virt-aa-helper: Allow access to /sys/bus/usb/devices Required to generate correct profiles when using usb passthrough. Bug-Ubuntu: https://bugs.launchpad.net/bugs/565691 Signed-off-by: Stefan Bader Signed-off-by: Christian Ehrhardt Acked-by: Jamie Strandboge Acked-by: Intrigeri --- examples/apparmor/usr.lib.libvirt.virt-aa-helper | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/apparmor/usr.lib.libvirt.virt-aa-helper b/examples/apparmor/usr.lib.libvirt.virt-aa-helper index 105f09e43d..6869685c05 100644 --- a/examples/apparmor/usr.lib.libvirt.virt-aa-helper +++ b/examples/apparmor/usr.lib.libvirt.virt-aa-helper @@ -22,6 +22,7 @@ profile virt-aa-helper /usr/{lib,lib64}/libvirt/virt-aa-helper { # for hostdev /sys/devices/ r, /sys/devices/** r, + /sys/bus/usb/devices/ r, deny /dev/sd* r, deny /dev/vd* r, deny /dev/dm-* r, -- 2.47.2