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.
Bug 818848 - No error messages print when set --spice-disable-effects and other spice options with wrong value
Summary: No error messages print when set --spice-disable-effects and other spice opti...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: spice-gtk
Version: 6.3
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Christophe Fergeau
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-04 07:47 UTC by tingting zheng
Modified: 2013-02-21 08:47 UTC (History)
12 users (show)

Fixed In Version: spice-gtk-0.14-1.el6
Doc Type: Bug Fix
Doc Text:
Cause: Consequence: No error messages printed when qemu is started with --spice-disable-effects with an invalid value Fix: Exit qemu when such an invalid value is encountered Result:
Clone Of:
Environment:
Last Closed: 2013-02-21 08:47:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0343 0 normal SHIPPED_LIVE spice-gtk bug fix and enhancement update 2013-02-20 20:53:54 UTC

Description tingting zheng 2012-05-04 07:47:19 UTC
Description of problem:
No error messages print when set --spice-disable-effects with wrong value,also it occurs with the below spice options:
--spice-ca-file, --spice-host-subject, --spice-smartcard-certificates, --spice-smartcard-db,--spice-usbredir-filter

Version-Release number of selected component (if applicable):
virt-viewer-0.5.2-6.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Configure a guest with spice.
2. # virt-viewer --help-spice
Usage:
  virt-viewer [OPTION...] DOMAIN-NAME|ID|UUID - Virtual machine graphical console

Spice Options:
……
  --spice-ca-file=<file>                                            Truststore file for secure connections
  --spice-host-subject=<host-subject>                               Subject of the host certificate (field=value pairs separated by commas)
  --spice-smartcard-certificates=<certificates>                     Certificates to use for software smartcards (field=values separated by commas)
  --spice-smartcard-db=<certificate-db>                             Path to the local certificate database to use for software smartcard certificates
  --spice-usbredir-filter=<filter-string>                           Filter for excluding USB devices from auto redirection
……

3. Use virt-viewer or remote-viewer with --spice-disable-effects to open the guest,set invalid value such as test.
# virt-viewer rhel6-spice --spice-disable-effects=test --debug
** (virt-viewer:4625): DEBUG: fullscreen display 0: 0
** (virt-viewer:4625): DEBUG: fullscreen display 0: 0
** (virt-viewer:4625): DEBUG: Opening connection to libvirt with URI <null>

** (virt-viewer:4625): DEBUG: Add handle 7 1 0x1cf6cc0
** (virt-viewer:4625): DEBUG: Add timeout 0x1cf6760 -1 0x7f2f4fdc5550 0x1cf6b10 1
** (virt-viewer:4625): DEBUG: notebook show status 0x1c8e1d0
** (virt-viewer:4625): DEBUG: notebook show status 0x1c8e1d0
** (virt-viewer:4625): DEBUG: Guest rhel6-spice is running, determining display

** (virt-viewer:4625): DEBUG: Set connect info: (null),(null),(null),-1,(null),(null),(null),0
** (virt-viewer:4625): DEBUG: Guest rhel6-spice has a spice display

** (virt-viewer:4625): DEBUG: Guest graphics address is 0.0.0.0:5900
** (virt-viewer:4625): DEBUG: Guest graphics listen '0.0.0.0' is NULL or a wildcard, replacing with 'localhost'
** (virt-viewer:4625): DEBUG: Set connect info: localhost,localhost,5900,-1,(null),(null),(null),0
** (virt-viewer:4625): DEBUG: Error operation virDomainOpenGraphics forbidden for read only access
** (virt-viewer:4625): DEBUG: After open connection callback fd=-1
** (virt-viewer:4625): DEBUG: Opening direct TCP connection to display at localhost:5900:-1

** (virt-viewer:4625): DEBUG: notebook show status 0x1c8e1d0
** (virt-viewer:4625): DEBUG: Add timeout 0x1d14ac0 -1 0x7f2f4fd3a530 0x1cf6340 2
** (virt-viewer:4625): DEBUG: main channel: opened
** (virt-viewer:4625): DEBUG: new audio channel
** (virt-viewer:4625): DEBUG: notebook show status 0x1c8e1d0
** (virt-viewer:4625): DEBUG: new display channel (#0)
** (virt-viewer:4625): DEBUG: notebook show status 0x1c8e1d0
** (virt-viewer:4625): DEBUG: new inputs channel
** (virt-viewer:4625): DEBUG: Display size request 100x100 (desktop 100x100)
** (virt-viewer:4625): DEBUG: Allocated 400x375
** (virt-viewer:4625): DEBUG: Child allocate 375x375
** (virt-viewer:4625): DEBUG: Display size request 50x50 (desktop 100x100)
** (virt-viewer:4625): DEBUG: Allocated 400x375
** (virt-viewer:4625): DEBUG: Child allocate 375x375
** (virt-viewer:4625): DEBUG: spice desktop resize 1024x768
** (virt-viewer:4625): DEBUG: Preparing main window resize
** (virt-viewer:4625): DEBUG: Decided todo 1024x768 (desktop is 1024x768, fullscreen is 1280x1024
** (virt-viewer:4625): DEBUG: Display size request 1024x768 (desktop 1024x768)
** (virt-viewer:4625): DEBUG: Allocated 1024x768
** (virt-viewer:4625): DEBUG: Child allocate 1024x768
** (virt-viewer:4625): DEBUG: Display size request 50x50 (desktop 1024x768)
** (virt-viewer:4625): DEBUG: Allocated 1024x768
** (virt-viewer:4625): DEBUG: Child allocate 1024x768
** (virt-viewer:4625): DEBUG: display mark 1
** (virt-viewer:4625): DEBUG: notebook show display 0x1c8e1d0
** (virt-viewer:4625): DEBUG: Window closed
** (virt-viewer:4625): DEBUG: main channel: closed
** (virt-viewer:4625): DEBUG: zap session channel (#0)
** (virt-viewer:4625): DEBUG: zap main channel
** (virt-viewer:4625): DEBUG: notebook show status 0x1c8e1d0
** (virt-viewer:4625): DEBUG: Guest rhel6-spice display has disconnected, shutting down
** (virt-viewer:4625): DEBUG: Set connect info: (null),(null),(null),-1,(null),(null),(null),0


Actual results:
No error messages print when set --spice-disable-effects and other spice options with wrong value

Expected results:
Messages print like:value for --spice-disable-effects can set as <wallpaper,font-smooth,animation,all>

Additional info:

Comment 2 Daniel Berrangé 2012-07-26 17:35:59 UTC
These command line args are all handled by spice-client-gtk rather than virt-viewer

Comment 3 Christophe Fergeau 2012-08-10 15:53:07 UTC
I just sent a patch to fix this to the spice-devel mailing list:
http://lists.freedesktop.org/archives/spice-devel/2012-August/010379.html

Comment 7 errata-xmlrpc 2013-02-21 08:47:28 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-2013-0343.html


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