Re: [Bug 1515791] [NEW] apparmor for qemu is too restrictive for USB passthrough

2015-11-23 Thread Nahuel Greco
here is the vm's xml configuration: win7 3c21df5e-dfef-4cf5-8e24-aeaa47235205 512 2097152 6 /machine hvm Westmere destroy restart restart /usr/bin/qemu-system-x86_64

Re: [Bug 1515791] [NEW] apparmor for qemu is too restrictive for USB passthrough

2015-11-13 Thread Nahuel Greco
I simply clicked on "Add Hardware" -> "USB Host Device" and clicked on the USB printer (a Silhouette Cameo 2, not really a printer but a plotter). Saludos, Nahuel Greco. On Fri, Nov 13, 2015 at 5:14 PM, Serge Hallyn <1515...@bugs.launchpad.net> wrote: > Thanks for reporting this bug. > > Can

Re: [Bug 1515791] [NEW] apparmor for qemu is too restrictive for USB passthrough

2015-11-13 Thread Serge Hallyn
Thanks for reporting this bug. Can you tell use exactly how you told virt-manager about the printer? For other types of usb devices (like an ereader) this has definately created the needed rules for me. Adding a blanket '/run/udev/** rw' rule would not be safe, but we should be able to find a

Re: [Bug 1515791] [NEW] apparmor for qemu is too restrictive for USB passthrough

2015-11-13 Thread Serge Hallyn
Thanks - could you show the vm's xml configuration? (i.e. result of virsh dumpxml vmname) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1515791 Title: apparmor for qemu is too restrictive for USB

[Bug 1515791] [NEW] apparmor for qemu is too restrictive for USB passthrough

2015-11-12 Thread Nahuel Greco
Public bug reported: When trying to use an USB printer from a QEMU guest (created with virt- manager) I get many apparmor errors in /var/log/kern.log, like: Nov 8 18:08:00 ombu kernel: [ 8603.301618] audit: type=1400 audit(1447016880.250:195): apparmor="DENIED" operation="open"

[Bug 1515791] [NEW] apparmor for qemu is too restrictive for USB passthrough

2015-11-12 Thread Nahuel Greco
Public bug reported: When trying to use an USB printer from a QEMU guest (created with virt- manager) I get many apparmor errors in /var/log/kern.log, like: Nov 8 18:08:00 ombu kernel: [ 8603.301618] audit: type=1400 audit(1447016880.250:195): apparmor="DENIED" operation="open"