[Bug 1392504] Re: libvirt not relabeling devices on USB Passthrough
Hi all, recently upgraded to 15.04 and the issue is solved in this version. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392504 Title: libvirt not relabeling devices on USB Passthrough To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1392504/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1392504] Re: USB Passthrough is not working anymore
Hi Kevin, finally somebody that found a solution. Great, thank you very much! It is working now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392504 Title: USB Passthrough is not working anymore To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1392504/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1392504] Re: USB Passthrough is not working anymore
Hi Serge, Following error message appears after I teared down apparmor and when I tried to start the vm: $sudo virsh start error: Failed to start domain error: error from service: ListActivatableNames: Failed to query AppArmor policy: No such file or directory Can anybody provide me a list of settings, for the OS, apparmor, libvirt, qemu, etc., etc. that can I check for this issue? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392504 Title: USB Passthrough is not working anymore To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1392504/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1392504] Re: USB Passthrough is not working anymore
Found the following lines in /var/log/libvirt/qemu/.log libusbx: error [_get_usbfs_fd] libusbx couldn't open USB device /dev/bus/usb/001/004: Permission denied libusbx: error [_get_usbfs_fd] libusbx requires write access to USB device nodes. libusbx: error [_get_usbfs_fd] libusbx couldn't open USB device /dev/bus/usb/001/004: Permission denied libusbx: error [_get_usbfs_fd] libusbx requires write access to USB device nodes. libusbx: error [_get_usbfs_fd] libusbx couldn't open USB device /dev/bus/usb/001/004: Permission denied libusbx: error [_get_usbfs_fd] libusbx requires write access to USB device nodes. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392504 Title: USB Passthrough is not working anymore To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1392504/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1392504] Re: USB Passthrough is not working anymore
I don't know if it is relevant, but in the error message of apparmor is says: comm="qemu-system-x86"; while libvirt starts qemu-system-x86_64. Anybody searching for a solution? I am not able to make backups since the upgrade to 14.10... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392504 Title: USB Passthrough is not working anymore To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1392504/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1392504] Re: USB Passthrough is not working anymore
I think it is related to Apparmor, I see the following lines in /etc/syslog: Nov 22 14:36:23 uvir kernel: [18882.602278] audit: type=1400 audit(1416663383.171:69): apparmor="DENIED" operation="open" profile="libvirt-30619811-d285-944a-026a-cdd4a753b77a" name="/sys/devices/pci:00/:00:1c.3/:03:00.0/usb3/uevent" pid=14279 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=106 ouid=0 Nov 22 14:36:23 uvir kernel: [18882.602295] audit: type=1400 audit(1416663383.171:70): apparmor="DENIED" operation="open" profile="libvirt-30619811-d285-944a-026a-cdd4a753b77a" name="/sys/devices/pci:00/:00:1c.3/:03:00.0/usb3/3-0:1.0/uevent" pid=14279 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=106 ouid=0 Nov 22 14:36:23 uvir kernel: [18882.602306] audit: type=1400 audit(1416663383.171:71): apparmor="DENIED" operation="open" profile="libvirt-30619811-d285-944a-026a-cdd4a753b77a" name="/sys/devices/pci:00/:00:1c.3/:03:00.0/usb4/uevent" pid=14279 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=106 ouid=0 Nov 22 14:36:23 uvir kernel: [18882.602318] audit: type=1400 audit(1416663383.171:72): apparmor="DENIED" operation="open" profile="libvirt-30619811-d285-944a-026a-cdd4a753b77a" name="/sys/devices/pci:00/:00:1c.3/:03:00.0/usb4/4-0:1.0/uevent" pid=14279 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=106 ouid=0 Nov 22 14:36:23 uvir kernel: [18882.602330] audit: type=1400 audit(1416663383.171:73): apparmor="DENIED" operation="open" profile="libvirt-30619811-d285-944a-026a-cdd4a753b77a" name="/sys/devices/pci:00/:00:1c.3/:03:00.0/usb4/4-2/uevent" pid=14279 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=106 ouid=0 Nov 23 00:28:39 uvir kernel: [35109.848778] audit: type=1400 audit(1416698919.255:181): apparmor="DENIED" operation="open" profile="libvirt-30619811-d285-944a-026a-cdd4a753b77a" name="/sys/devices/pci:00/:00:1c.3/:03:00.0/usb3/uevent" pid=25427 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=106 ouid=0 Nov 23 00:28:39 uvir kernel: [35109.848799] audit: type=1400 audit(1416698919.255:182): apparmor="DENIED" operation="open" profile="libvirt-30619811-d285-944a-026a-cdd4a753b77a" name="/sys/devices/pci:00/:00:1c.3/:03:00.0/usb3/3-0:1.0/uevent" pid=25427 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=106 ouid=0 Nov 23 00:28:39 uvir kernel: [35109.848815] audit: type=1400 audit(1416698919.255:183): apparmor="DENIED" operation="open" profile="libvirt-30619811-d285-944a-026a-cdd4a753b77a" name="/sys/devices/pci:00/:00:1c.3/:03:00.0/usb4/uevent" pid=25427 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=106 ouid=0 Nov 23 00:28:39 uvir kernel: [35109.848831] audit: type=1400 audit(1416698919.255:184): apparmor="DENIED" operation="open" profile="libvirt-30619811-d285-944a-026a-cdd4a753b77a" name="/sys/devices/pci:00/:00:1c.3/:03:00.0/usb4/4-0:1.0/uevent" pid=25427 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=106 ouid=0 Nov 23 00:28:39 uvir kernel: [35109.848847] audit: type=1400 audit(1416698919.255:185): apparmor="DENIED" operation="open" profile="libvirt-30619811-d285-944a-026a-cdd4a753b77a" name="/sys/devices/pci:00/:00:1c.3/:03:00.0/usb4/4-2/uevent" pid=25427 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=106 ouid=0 Nov 23 09:07:11 uvir kernel: [ 33.270565] audit: type=1400 audit(1416730031.240:59): apparmor="DENIED" operation="open" profile="libvirt-717d41d2-cfc9-5d70-e2f5-817c2ed1a90a" name="/sys/devices/pci:00/:00:1c.3/:03:00.0/usb3/uevent" pid=3599 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=106 ouid=0 Nov 23 09:07:11 uvir kernel: [ 33.270588] audit: type=1400 audit(1416730031.240:60): apparmor="DENIED" operation="open" profile="libvirt-717d41d2-cfc9-5d70-e2f5-817c2ed1a90a" name="/sys/devices/pci:00/:00:1c.3/:03:00.0/usb3/3-0:1.0/uevent" pid=3599 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=106 ouid=0 Nov 23 09:07:11 uvir kernel: [ 33.270606] audit: type=1400 audit(1416730031.240:61): apparmor="DENIED" operation="open" profile="libvirt-717d41d2-cfc9-5d70-e2f5-817c2ed1a90a" name="/sys/devices/pci:00/:00:1c.3/:03:00.0/usb4/uevent" pid=3599 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=106 ouid=0 Nov 23 09:07:11 uvir kernel: [ 33.270625] audit: type=1400 audit(1416730031.240:62): apparmor="DENIED" operation="open" profile="libvirt-717d41d2-cfc9-5d70-e2f5-817c2ed1a90a" name="/sys/devices/pci:00/:00:1c.3/:03:00.0/usb4/4-0:1.0/uevent" pid=3599 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=106 ouid=0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392504 Title: USB
[Bug 1392504] Re: USB Passthrough is not working anymore
Same issue appeard after upgrading from Ubuntu 13.04 to 13.10; bug: 1245251 (Apparmor blocks usb devices in libvirt in Saucy). Could it be related to this issue? Maybe a new or other line in /etc/apparmor.d/abstractions/libvirt-qemu? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392504 Title: USB Passthrough is not working anymore To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1392504/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1392504] Re: USB Passthrough is not working anymore
Hi Serge, just tested your solution but unfortunately with no success. I also removed a vm and created it again, also with no luck. Sorry ... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392504 Title: USB Passthrough is not working anymore To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1392504/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1245251] Re: Apparmor blocks usb devices in libvirt in Saucy
I have installed the update 1.1.1-0ubuntu8.2 in a test environment and it's looking good now. Is it possible to upgrade our servers with apt- get upgrade (how long will it take before it is available?) or must I use the proposed package? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1245251 Title: Apparmor blocks usb devices in libvirt in Saucy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1245251/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs