Bug 857119
| Summary: | USB clerk service won't share any device on Windows Server 2008 R2 and Windows XP | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | David Jaša <djasa> | ||||||||
| Component: | usb-clerk-win | Assignee: | Arnon Gilboa <agilboa> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> | ||||||||
| Severity: | urgent | Docs Contact: | |||||||||
| Priority: | urgent | ||||||||||
| Version: | 3.1.0 | CC: | cpelland, dblechte, mbarta, mkenneth, mkrcmari, tjamrisk, uril | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | usbclerk-win-0.1-10 | Doc Type: | Bug Fix | ||||||||
| Doc Text: |
No documentation needed
|
Story Points: | --- | ||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2012-12-04 17:58:16 UTC | Type: | Bug | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
David Jaša
2012-09-13 15:31:25 UTC
client is 2008 R2 32/64 bit? please repro & attach %windir%\temp\usbclerk.log 2008 R2 32/64 is not in the rhevm 3.1 supported clients. Moving to the rhevm-future *** Bug 870009 has been marked as a duplicate of this bug. *** Created attachment 633274 [details]
Logs
Copying back log from the duplicate bug as requested by Arnon
(In reply to comment #4) > Created attachment 633274 [details] > Logs > > Copying back log from the duplicate bug as requested by Arnon "driver install failed -- Unable to run process with required administrative privileges (-15)" Is it running as SYSTEM? Can you try to manually change the usbclerk service privilages? Running as SYSTEM, permissions in "Advanced Security Settings for usbclerk" are listed as Full Control. Not sure how I can elevate them even further. I've reproduced on Windows XP client so I am raising the severity. USBClerk service is running under SYSTEM, not sure what to do with privileges in Windows XP. (In reply to comment #8) > I've reproduced on Windows XP client so I am raising the severity. > USBClerk service is running under SYSTEM, not sure what to do with > privileges in Windows XP. Is it the same error (-15) ? is it a new bug? how to repro? happens with all devices or only specific ones? please repro on XP client and attach usbclerk.log. Created attachment 634962 [details]
Logs from XP
> Is it the same error (-15) ? is it a new bug? how to repro? happens with all
> devices or only specific ones? please repro on XP client and attach
> usbclerk.log.
Adding requested log. Exactly the same error.
Happens with at the very least USB mass storage devices.
The reason for this error is missing MS VC++ 2008 SP1 redist. Two optional solutions: 1. Release note requiring to install it on client Windows for usbclerk to work. x86: http://www.microsoft.com/download/en/details.aspx?id=5582 x64: http://www.microsoft.com/download/en/details.aspx?id=15336 2. Re-brew libwdi-win and its deps (installer, embedder) after patching it to use specific static libs instead of "standard windows libs", and then re-brew usbclerk-win. Created attachment 636542 [details]
use specific static libs
patch for option 2, which sounds better.
I think options 1 of comment 12 is a good solution too, maybe better than 2. Generally, and specifically for runtime libraries, using dynamic libraries is a good thing. It's true that for some users, that do not have those libraries already installed on the client machine, may get a bit frustrated with usbredir not working immediately. They would have to spend some time to figure out why, download and install from the links above. As Arnon proposed we can add a release note about that. Installing the above mentioned libraries also fixes this issue on server 2008 Finally choose option 2 of comment 12. Removed doc text. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2012-1527.html |