On jaunty I could attach usb devices to a running machine like this:
$ virsh attach-device winbox usb-nokia.xml
After upgrading to karmic this results in the folloing kernel log:
[22389.943569] type=1503 audit(1258461825.254:41): operation="open" pid=7705 parent=1 profile="libvirt-9edf0dc3-867a-4ae1-bc7a-acbbd148d44e" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/bus/usb/devices/"
As far as I understand it the profile under /etc/apparmor.d/libvirt is not updated properly when attaching a device.
On jaunty I could attach usb devices to a running machine like this:
$ virsh attach-device winbox usb-nokia.xml
After upgrading to karmic this results in the folloing kernel log: 5.254:41) : operation="open" pid=7705 parent=1 profile= "libvirt- 9edf0dc3- 867a-4ae1- bc7a-acbbd148d4 4e" requested_ mask="r: :" denied_mask="r::" fsuid=0 ouid=0 name="/ sys/bus/ usb/devices/ "
[22389.943569] type=1503 audit(125846182
As far as I understand it the profile under /etc/apparmor. d/libvirt is not updated properly when attaching a device.