[Bug 545795] Re: apparmor driver blocks access to hostdev and pcidev devices
Andreas Ntaflos
daff at dword.org
Tue May 4 15:25:38 BST 2010
Looks like I found it. The VM in my case is trying to access
/sys/devices/pci0000:00/0000:00:1e.0/0000:01:04.4/usb6/devnum
but the abstractions/libvirt-qemu profile only allows
/sys/bus/usb/devices/ r,
/sys/devices/*/*/usb[0-9]*/** r,
when it should (also) allow
/sys/devices/*/*/*/usb[0-9]*/** r,
With this line added the guest boots fine and immediately gets access to
the USB device.
I have attached a patch for this one-line fix, hope it helps.
** Patch added: "One-line fix for hostdev access to USB devices"
http://launchpadlibrarian.net/47796844/libvirt-qemu.patch
--
apparmor driver blocks access to hostdev and pcidev devices
https://bugs.launchpad.net/bugs/545795
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.
More information about the Ubuntu-server-bugs
mailing list