Bug 819484

Summary: missing usbredir channel in spice_server_set_channel_security
Product: Red Hat Enterprise Linux 6 Reporter: Alon Levy <alevy>
Component: spice-serverAssignee: Alon Levy <alevy>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3CC: acathrow, cfergeau, dblechte, dyasny, mkenneth, mkrcmari
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: spice-server-0.10.1-7.el6 Doc Type: Bug Fix
Doc Text:
No Documentation Needed
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 12:17:22 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:

Description Alon Levy 2012-05-07 11:37:38 UTC
Missing support for the "usbredir" channel name in spice_server_set_channel_security. This is needed to allow setting of security for the usbredir channel, SPICE_CHANNEL_USBREDIR, individually.

Comment 2 Alon Levy 2012-05-08 14:55:43 UTC
Patch pushed upstream:

commit ce8e865cf1fcd7ee6ef2e6f8b33506df31e3345e
Author: Alon Levy <alevy>
Date:   Mon May 7 14:14:37 2012 +0300

    server/reds: add "usbredir" to recognized channel names
    
    RHBZ: 819484
    
    Signed-off-by: Alon Levy <alevy>

diff --git a/server/reds.c b/server/reds.c
index 1696fbc..26d6f89 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -3971,6 +3971,7 @@ SPICE_GNUC_VISIBLE int spice_server_set_channel_security(SpiceServer *s, const c
 #ifdef USE_SMARTCARD
         [ SPICE_CHANNEL_SMARTCARD] = "smartcard",
 #endif
+        [ SPICE_CHANNEL_USBREDIR ] = "usbredir",
     };
     int i;

Comment 6 Alon Levy 2012-05-14 12:21:09 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No Documentation Needed

Comment 9 errata-xmlrpc 2012-06-20 12:17:22 UTC
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/RHBA-2012-0765.html