<div>
                    I encountered an AppArmor denial in Ubuntu 14.04.  I had filed a bug here <a href="https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1324251">https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1324251</a>
                </div><div><br></div><div>I just wanted to see this applied upstream from Ubuntu.  This update to the profile is necessary to write to 9pfs mounts.  Let me know what you think about the following patch:</div>
                <div><div><br></div><div><div>diff --git a/examples/apparmor/libvirt-qemu b/examples/apparmor/libvirt-qemu</div><div>index 83814ec..c80294c 100644</div><div>--- a/examples/apparmor/libvirt-qemu</div><div>+++ b/examples/apparmor/libvirt-qemu</div><div>@@ -9,6 +9,10 @@</div><div>   capability dac_read_search,</div><div>   capability chown,</div><div> </div><div>+  # to create and modify with 9p shares</div><div>+  capability fowner,</div><div>+  capability fsetid,</div><div>+</div><div>   # needed to drop privileges</div><div>   capability setgid,</div><div>   capability setuid,</div></div><div><br></div><div><br></div><div>I’m running on libvirt: 1.2.2</div><div>My host machine is: x86_64</div><div>The hypervisor is: KVM</div><div>-- </div><div>Steven<br></div><div><br></div></div>