7eedb34aa2
apparmor-fixes.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=441
34 lines
869 B
Diff
34 lines
869 B
Diff
Index: libvirt-1.2.13/examples/apparmor/libvirt-qemu
|
|
===================================================================
|
|
--- libvirt-1.2.13.orig/examples/apparmor/libvirt-qemu
|
|
+++ libvirt-1.2.13/examples/apparmor/libvirt-qemu
|
|
@@ -59,6 +59,7 @@
|
|
# access to firmware's etc
|
|
/usr/share/kvm/** r,
|
|
/usr/share/qemu/** r,
|
|
+ /usr/share/qemu-kvm/** r,
|
|
/usr/share/bochs/** r,
|
|
/usr/share/openbios/** r,
|
|
/usr/share/openhackware/** r,
|
|
@@ -73,6 +74,7 @@
|
|
# the various binaries
|
|
/usr/bin/kvm rmix,
|
|
/usr/bin/qemu rmix,
|
|
+ /usr/bin/qemu-kvm rmix,
|
|
/usr/bin/qemu-system-arm rmix,
|
|
/usr/bin/qemu-system-cris rmix,
|
|
/usr/bin/qemu-system-i386 rmix,
|
|
@@ -118,6 +120,12 @@
|
|
/bin/dd rmix,
|
|
/bin/cat rmix,
|
|
|
|
+ # for restore
|
|
+ /bin/bash rmix,
|
|
+
|
|
+ /run/nscd/passwd r,
|
|
+ /run/nscd/group r,
|
|
+
|
|
# for usb access
|
|
/dev/bus/usb/ r,
|
|
/etc/udev/udev.conf r,
|