Discussion:
[libvirt-users] Serial ports: vm vs bare metal
Lars Kellogg-Stedman
2018-10-09 20:42:05 UTC
Permalink
I'm running libvirt under Fedora 28. I would like to attach a USB
device to a VM, but when I select "Redirect USB Device" from the
"Virtual Machine" menu in virt-manager and then select the device, I
get the error:

USB redirection error

spice-client-error-quark: Could not redirect [device name] at 1-11:
Error setting USB device node ACL: 'Not authorized' (0)

There are no additional log messages acccompanying this in either the
journal or in audit.log. It's not a selinux issue. The "Details"
dropdown in the error dialog helpfully adds "USB redirection error".

What do I do with this error message? I'm not even sure what it's
trying to tell me.

Thanks,
--
Lars Kellogg-Stedman <***@redhat.com> | larsks @ {irc,twitter,github}
http://blog.oddbit.com/ |
Lars Kellogg-Stedman
2018-10-09 23:21:40 UTC
Permalink
Post by Lars Kellogg-Stedman
I'm running libvirt under Fedora 28. I would like to attach a USB
device to a VM...
Ugh, also, sorry for the incredibly non-descriptive subject: on the
previous email; I started out writing one email, got distracted, and
then changed the content without fixing the subject. Sorry!
--
Lars Kellogg-Stedman <***@redhat.com> | larsks @ {irc,twitter,github}
http://blog.oddbit.com/ |
Cole Robinson
2018-10-10 13:57:39 UTC
Permalink
Post by Lars Kellogg-Stedman
I'm running libvirt under Fedora 28. I would like to attach a USB
device to a VM, but when I select "Redirect USB Device" from the
"Virtual Machine" menu in virt-manager and then select the device, I
USB redirection error
Error setting USB device node ACL: 'Not authorized' (0)
There are no additional log messages acccompanying this in either the
journal or in audit.log. It's not a selinux issue. The "Details"
dropdown in the error dialog helpfully adds "USB redirection error".
What do I do with this error message? I'm not even sure what it's
trying to tell me.
Me neither. Looks like that message is either coming from spice or
usbredir. CCing spice list (and changed the subject to make it more clear)

- Cole
Christophe Fergeau
2018-10-10 15:22:11 UTC
Permalink
Hey,
Post by Lars Kellogg-Stedman
I'm running libvirt under Fedora 28. I would like to attach a USB
device to a VM, but when I select "Redirect USB Device" from the
"Virtual Machine" menu in virt-manager and then select the device, I
USB redirection error
Error setting USB device node ACL: 'Not authorized' (0)
There are no additional log messages acccompanying this in either the
journal or in audit.log. It's not a selinux issue. The "Details"
dropdown in the error dialog helpfully adds "USB redirection error".
What do I do with this error message? I'm not even sure what it's
trying to tell me.
Me neither. Looks like that message is either coming from spice or usbredir.
CCing spice list (and changed the subject to make it more clear)
USB Redirection permissions are set by the
/usr/libexec/spice-gtk-x86_64/spice-client-glib-usb-acl-helper SUID
binary. I'm running f29 these days, but after downgrading the spice-gtk
package to spice-gtk-0.35-1.fc28, I haven't been able to reproduce this
issue. What version of the package is being used? And are you sure you
don't have any non-fedora versions of spice-gtk anywhere on your system?

Christophe
Lars Kellogg-Stedman
2018-10-16 18:04:43 UTC
Permalink
Post by Christophe Fergeau
USB Redirection permissions are set by the
/usr/libexec/spice-gtk-x86_64/spice-client-glib-usb-acl-helper SUID
binary. I'm running f29 these days, but after downgrading the spice-gtk
package to spice-gtk-0.35-1.fc28, I haven't been able to reproduce this
issue. What version of the package is being used? ...
Hah, well, it's susprising how much better things work when you're
using the latest version. What with switching between multiple
machines it turns out that one I thought was at F28 was in fact at
F27, and upgrading it to F28 made the problem go away.

...so, while I still don't really understand what was going on there,
upgrading has fixed it, so it's all good.

Thanks!
--
Lars Kellogg-Stedman <***@redhat.com> | larsks @ {irc,twitter,github}
http://blog.oddbit.com/ |
Loading...