libvirt/qemu-apparmor-screenshot.patch

15 lines
523 B
Diff
Raw Normal View History

Index: libvirt-1.3.5/examples/apparmor/libvirt-qemu
===================================================================
--- libvirt-1.3.5.orig/examples/apparmor/libvirt-qemu
+++ libvirt-1.3.5/examples/apparmor/libvirt-qemu
@@ -152,6 +152,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 {