Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Created attachment 794559[details]
Debug info from virt-manager
Description
File spice-client-glib-usb-acl-helper has no suid root privilege
Version:
libvirt-1.1.1-3.el7.x86_64
virt-manager-0.10.0-3.el7.noarch
spice-glib-0.20-2.el7.x86_64
spice-gtk-0.20-2.el7.x86_64
How reproducible:
100%
Steps to Reproduce:
1. Use non-root user login system.
2. Launch virt-manager,input password for authentication.
3. Configure a guest to try usb auto redirection.
4. Error shows:
spice-client-glib-usb-helper: Error setting facl: Operation not permitted
5. Check the mode of file spice-client-glib-usb-helper
# ll /usr/libexec/spice-gtk-x86_64/spice-client-glib-usb-acl-helper
-rwxr-xr-x. 1 root root 15448 Jul 12 01:03 /usr/libexec/spice-gtk-x86_64/spice-client-glib-usb-acl-helper
6. add suid root privilege to the file,usb can be redirected successfully.
Actual results:
As description.
Expected results:
File spice-client-glib-usb-acl-helper has suid root privilege
Additional info:
Attached virt-manager debug info.
Comment 3Christophe Fergeau
2013-09-06 16:20:24 UTC
http://download.devel.redhat.com/brewroot/packages/spice-gtk/0.20/2.el7/data/logs/x86_64/build.log has:
chown root /builddir/build/BUILDROOT/spice-gtk-0.20-2.el7.x86_64/usr/libexec/spice-gtk-x86_64//spice-client-glib-usb-acl-helper
chown: changing ownership of '/builddir/build/BUILDROOT/spice-gtk-0.20-2.el7.x86_64/usr/libexec/spice-gtk-x86_64//spice-client-glib-usb-acl-helper': Operation not permitted
chmod u+s /builddir/build/BUILDROOT/spice-gtk-0.20-2.el7.x86_64/usr/libexec/spice-gtk-x86_64//spice-client-glib-usb-acl-helper
Iirc spice-client-glib-usb-acl-helper needs to be added to some magic list in order to be suid-able, and iirc Hans did what was needed for that to happen. Maybe just a rebuild is needed?
Comment 4Christophe Fergeau
2013-09-13 12:02:12 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.
Created attachment 794559 [details] Debug info from virt-manager Description File spice-client-glib-usb-acl-helper has no suid root privilege Version: libvirt-1.1.1-3.el7.x86_64 virt-manager-0.10.0-3.el7.noarch spice-glib-0.20-2.el7.x86_64 spice-gtk-0.20-2.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. Use non-root user login system. 2. Launch virt-manager,input password for authentication. 3. Configure a guest to try usb auto redirection. 4. Error shows: spice-client-glib-usb-helper: Error setting facl: Operation not permitted 5. Check the mode of file spice-client-glib-usb-helper # ll /usr/libexec/spice-gtk-x86_64/spice-client-glib-usb-acl-helper -rwxr-xr-x. 1 root root 15448 Jul 12 01:03 /usr/libexec/spice-gtk-x86_64/spice-client-glib-usb-acl-helper 6. add suid root privilege to the file,usb can be redirected successfully. Actual results: As description. Expected results: File spice-client-glib-usb-acl-helper has suid root privilege Additional info: Attached virt-manager debug info.