File apparmor-fixes.patch of Package libvirt.11695

Index: libvirt-1.2.5/examples/apparmor/libvirt-qemu
===================================================================
--- libvirt-1.2.5.orig/examples/apparmor/libvirt-qemu
+++ libvirt-1.2.5/examples/apparmor/libvirt-qemu
@@ -58,6 +58,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,
@@ -72,6 +73,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,