Bug 1063165 - USB redirection does not work in QEMU/KVM virtual machines
Summary: USB redirection does not work in QEMU/KVM virtual machines
Status: RESOLVED DUPLICATE of bug 744251
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Virtualization:Tools (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Factory
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Cédric Bosdonnat
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-13 09:06 UTC by Giuseppe Gorgoglione
Modified: 2017-10-17 08:09 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Giuseppe Gorgoglione 2017-10-13 09:06:55 UTC
Steps to reproduce:
1) plug in a USB key while a QEMU/KVM virtual machine window is in foreground, or hit "Virtual Machine -> Redirect USB device" menu option and select any device listed there.
2) The system will prompt for root password
3) After typing the password correctly, the following error message is printed in a dialog box: "USB redirection error. spice-client-error-quark: Could not redirect Generic USB Storage [...] Error setting USB device node ACL: 'Error setting facl: Operation not permitted' (0)". The USB device of course is never redirected.

Solution:

chmod u+s /usr/bin/spice-client-glib-usb-acl-helper

After setting the sticky bit all USB devices are redirected correctly
Comment 1 Cédric Bosdonnat 2017-10-17 08:09:28 UTC
This setuid bit won't be set in the package. See duplicate bug for more infos.

*** This bug has been marked as a duplicate of bug 744251 ***