[Users] oVirt 3.2 beta: Usb redirection and low level usb access

Gianluca Cecchi gianluca.cecchi at gmail.com
Wed Feb 27 13:14:46 UTC 2013


On Thu, Feb 14, 2013 at 10:44 AM, Gianluca Cecchi wrote:
> Hello,
> I'm testing a WIndows XP vm with native usb redirection and oVirt 3.2 beta

> - when I'm in full screen of my windows XP VM, I plug an usb key into
> client and I get (from my client OS) the message
>
> Privileges are required for low level USB device access (for USB
> device passthrough


Could it be that modifying the file
/usr/share/polkit-1/actions/org.spice-space.lowlevelusbaccess.policy
that is part of spice-glib rpm I can bypass this?

I read about it in RHE 6.4 release notes, but I didn't find mention in
the docs on how to change it...

Currently on my fedora 17 client the file contains what below; how is
it supposed to be changed?

Thanks
Gianluca

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
          "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
          "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
<policyconfig>

  <vendor>The Spice Project</vendor>
  <vendor_url>http://spice-space.org/</vendor_url>
  <icon_name>spice</icon_name>

  <action id="org.spice-space.lowlevelusbaccess">
    <description>Low level USB device access</description>
    <message>Privileges are required for low level USB device access
(for usb device pass through).</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>

</policyconfig>



More information about the Users mailing list