[Bug 640993] [NEW] passing a usb device in maverick with apparmor enabled fails
Serge Hallyn
640993 at bugs.launchpad.net
Fri Sep 17 03:10:36 BST 2010
Public bug reported:
1. fired up a pre-existing vm
virsh start mav-serv1
2. plugged in a usb drive
3. found the usb address using lsusb, which gave me
Bus 002 Device 006: ID 1058:1023 Western Digital Technologies, Inc.
4. defined a xml file with the device info:
<hostdev mode='subsystem' type='usb'>
<source>
<vendor id='0x1058'/>
<product id='0x1023'/>
</source>
</hostdev>
5. passed the usb drive to the vm
sudo virsh attach-device mav-serv1 /tmp/a.xml
Expected results:
lsusb in the VM shows the device
Actual results:
lsusb in the VM does not show the device until I stop apparmor using
sudo /etc/init.d/apparmor stop
sudo /etc/init.d/apparmor teardown
As soon as I do that, it shows up in the guest.
** Affects: libvirt (Ubuntu)
Importance: Undecided
Status: New
--
passing a usb device in maverick with apparmor enabled fails
https://bugs.launchpad.net/bugs/640993
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