Bug 810583 - disconnect() method of spice-xpi does not kill client
disconnect() method of spice-xpi does not kill client
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: spice-xpi (Show other bugs)
6.3
Unspecified Unspecified
low Severity low
: rc
: 6.4
Assigned To: Peter Hatina
Desktop QE
:
Depends On: 815674
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-06 17:08 EDT by David Jaša
Modified: 2016-05-31 21:31 EDT (History)
6 users (show)

See Also:
Fixed In Version: spice-xpi-2.7-21.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-02-21 05:57:54 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Jaša 2012-04-06 17:08:26 EDT
Description of problem:
disconnect() method of spice-xpi does not kill client - it continues to run.

Version-Release number of selected component (if applicable):
spice-xpi-2.7-16.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. from test page, connect client to spice server
2. switch to the web browser again
3. hit 'Disconnect' button
  
Actual results:
client keeps running

Expected results:
client is closed

Additional info:
Comment 1 Peter Hatina 2012-04-25 09:33:00 EDT
In current state, we are not able to solve this in a reasonable way. Now we have alternatives, so /usr/libexec/spice-xpi-client points to 2 shell scripts, which run either spicec or remote-viewer. The problem is, that if I signal (by SIGTERM) spice-xpi-client, the client does not die -- caused by the structure of the script(s). The best solution could be: to signal a process group, where the parent is the mentioned spice-xpi-client.

Rhel 6.3 in current state suffers from a bug, where is is not able to signal a process group. I already filed that bug.
Comment 2 David Blechter 2012-04-25 09:43:02 EDT
Moving to 6.4 for now:
First, it depend on https://bugzilla.redhat.com/show_activity.cgi?id=815674;
and second, spice devel is focusing on virt-vierwer as the spicec replacement.
Comment 5 Peter Hatina 2012-08-01 04:27:20 EDT
Fixed.
Comment 9 errata-xmlrpc 2013-02-21 05:57:54 EST
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-0459.html

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