Comment 5 for bug 435527

Revision history for this message
Markus Wigge (markus-cultcom) wrote :

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.