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 <lars@redhat.com> | larsks @ {irc,twitter,github} http://blog.oddbit.com/ |
Lars Kellogg-Stedman
2018-Oct-09 23:21 UTC
Re: [libvirt-users] Serial ports: vm vs bare metal
On Tue, Oct 09, 2018 at 04:42:05PM -0400, Lars Kellogg-Stedman wrote:> 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 <lars@redhat.com> | larsks @ {irc,twitter,github} http://blog.oddbit.com/ |
Cole Robinson
2018-Oct-10 13:57 UTC
Re: [libvirt-users] usbredir error: Error setting USB device node ACL: 'Not authorized'
On 10/09/2018 04:42 PM, Lars Kellogg-Stedman wrote:> 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. >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-Oct-10 15:22 UTC
Re: [libvirt-users] [Spice-devel] usbredir error: Error setting USB device node ACL: 'Not authorized'
Hey, On Wed, Oct 10, 2018 at 09:57:39AM -0400, Cole Robinson wrote:> On 10/09/2018 04:42 PM, Lars Kellogg-Stedman wrote: > > 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. > > > > 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
Seemingly Similar Threads
- Re: [Spice-devel] usbredir error: Error setting USB device node ACL: 'Not authorized'
- virsh attach device equivalent in libvirt API
- Re: usbredir error: Error setting USB device node ACL: 'Not authorized'
- Re: Why are virsh vol-upload/vol-download so slow?
- Convincing libvirt to create a bridge device?