Bug 1063165

Summary: USB redirection does not work in QEMU/KVM virtual machines
Product: [openSUSE] openSUSE Tumbleweed Reporter: Giuseppe Gorgoglione <gorgoglione>
Component: Virtualization:ToolsAssignee: Cédric Bosdonnat <cbosdonnat>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Factory   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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 ***