Bug 787678 - print info about x509-* files used
Summary: print info about x509-* files used
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: spice-server
Version: 6.3
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: alpha
: 6.3
Assignee: Uri Lublin
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-06 13:50 UTC by David Jaša
Modified: 2012-06-20 12:17 UTC (History)
5 users (show)

Fixed In Version: spice-server-0.10.1-4.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-20 12:17:06 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0765 0 normal SHIPPED_LIVE spice-server bug fix and enhancement update 2012-06-19 19:30:21 UTC

Description David Jaša 2012-02-06 13:50:00 UTC
Description of problem:
When qemu starts with -spice x509-<something>=<path> or -spice tls-port=<sport> option, it does not print any output regarding certs/keys loaded

Version-Release number of selected component (if applicable):
qemu-kvm-0.12.1.2-2.222.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. cd to directory with valid spice certs & keys
2. run /usr/libexec/qemu-kvm -spice tls-port=<sport>
3.
  
Actual results:
qemu-kvm prints to console:
spice_server_add_interface: SPICE_INTERFACE_MIGRATION
spice_server_add_interface: SPICE_INTERFACE_KEYBOARD
spice_server_add_interface: SPICE_INTERFACE_MOUSE
spice_server_add_interface: SPICE_INTERFACE_QXL
red_worker_main: begin
display_channel_create: create display channel
cursor_channel_create: create cursor channel

Expected results:
in addition to output above, spice-server should also something like this (based on output when the server-cert.pem file is missing):
reds_init_ssl: Loaded certificates from ./server-cert.pem
reds_init_ssl: Using private key from ./server-key.pem
reds_init_ssl: Loaded certificates from ./ca-cert.pem

Additional info:

Comment 1 Christophe Fergeau 2012-03-02 16:02:25 UTC
Patch fixing this sent upstream

Comment 6 David Jaša 2012-04-16 13:55:22 UTC
spice-server-0.10.1-5.el6.x86_64 prints:

/usr/libexec/qemu-kvm -spice tls-port=5900,password=123456,x509-dir=/etc/pki/libvirt-spice
do_spice_init: starting 0.10.1
reds_init_ssl: Loaded certificates from /etc/pki/libvirt-spice/server-cert.pem
reds_init_ssl: Using private key from /etc/pki/libvirt-spice/server-key.pem
reds_init_ssl: Loaded CA certificates from /etc/pki/libvirt-spice/ca-cert.pem

--> can be moved to VERIFIED

Comment 9 errata-xmlrpc 2012-06-20 12:17:06 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


Note You need to log in before you can comment on or make changes to this bug.