libvirt/qemu-apparmor-screenshot.patch
Cédric Bosdonnat dd4dfc896b Accepting request 262066 from home:cbosdonnat:branches:Virtualization
- Fix Qemu AppArmor abstraction.
  - qemu-block.so was denied on x86_64. install-apparmor-profiles.patch
  - Temporary fix access to screenshot temporary file. bsc#904426.
    qemu-apparmor-screenshot.patch

OBS-URL: https://build.opensuse.org/request/show/262066
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=420
2014-11-17 17:17:05 +00:00

15 lines
535 B
Diff

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