libvirt/qemu-apparmor-screenshot.patch

15 lines
526 B
Diff
Raw Normal View History

Index: libvirt-1.2.16/examples/apparmor/libvirt-qemu
===================================================================
--- libvirt-1.2.16.orig/examples/apparmor/libvirt-qemu
+++ libvirt-1.2.16/examples/apparmor/libvirt-qemu
@@ -133,6 +133,9 @@
/sys/bus/ r,
/sys/class/ r,
+ # Temporary screendump rule -- See bsc#904426
+ /var/cache/libvirt/qemu/qemu.screendump.* rw,
+
/usr/{lib,libexec}/qemu-bridge-helper Cx -> qemu_bridge_helper,
# child profile for bridge helper process
profile qemu_bridge_helper {