Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 882339 - spice-xpi doesn't clean up /tmp/spicec-XXXXXX/spice-foreign socket and /tmp/spicec-XXXXXX directory after the client exits
spice-xpi doesn't clean up /tmp/spicec-XXXXXX/spice-foreign socket and /tmp/s...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: spice-xpi (Show other bugs)
6.4
Unspecified Unspecified
unspecified Severity medium
: beta
: ---
Assigned To: Peter Hatina
Desktop QE
:
Depends On:
Blocks: 947781
  Show dependency treegraph
 
Reported: 2012-11-30 12:36 EST by David Jaša
Modified: 2016-05-31 21:31 EDT (History)
8 users (show)

See Also:
Fixed In Version: spice-xpi-2.7-23.el6
Doc Type: Bug Fix
Doc Text:
Cause: The spice-xpi browser plugin was not cleaning up some socket files after client exit Consequence: /tmp/spicec-XXXXXX/spice-foreign socket and /tmp/spicec-XXXXXX directory are still present after the client exits. Fix: Remove these files when the clients exits Result: These 2 files no longer stay around
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-11-21 16:40:45 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)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2013:1667 normal SHIPPED_LIVE spice-xpi bug fix and enhancement update 2013-11-20 16:52:56 EST

  None (edit)
Description David Jaša 2012-11-30 12:36:57 EST
Description of problem:
spice-xpi doesn't clean up /tmp/spicec-XXXXXX/spice-foreign socket and /tmp/spicec-XXXXXX directory after the client exits.

spice-xpi creates /tmp/spicec-XXXXXX directory with two sockets before it launches the client: spice-xpi and spice-foreign, but it doesn't clean them up after client exit.

The file and directory can be left unremoved even when this bug is fixed in cases when plugin exits before the client but these cases should be much rarer than current leaving of every file.

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

How reproducible:
always

Steps to Reproduce:
1. close all clients launched by browser plugin
2. remove all /tmp/spicec-XXXXXX directories
3. launch a client from portal, close the client again
  
Actual results:
/tmp/spicec-XXXXXX/spice-foreign directory and socket are left behind

Expected results:
no /tmp/spicec-XXXXXX directory exists anymore

Additional info:
Comment 1 Christophe Fergeau 2013-05-21 05:21:09 EDT
A patch for this issue was sent to the spice-devel mailing list:
http://lists.freedesktop.org/archives/spice-devel/2013-April/012995.html
Comment 3 Peter Hatina 2013-06-17 09:31:14 EDT
Please, check this scratch build.

https://brewweb.devel.redhat.com/taskinfo?taskID=5910797
Comment 4 Tomas Jamrisko 2013-06-18 06:29:15 EDT
Seems to work with the build from Comment 3.
Comment 5 Peter Hatina 2013-06-18 06:41:21 EDT
OK, fixed.
Comment 6 Christophe Fergeau 2013-06-19 07:56:45 EDT
Does this issue happen upstream as well? If it does, this needs to get fixed there as well if we don't want to introduce a regression if we rebase or in rhel7
Comment 13 errata-xmlrpc 2013-11-21 16:40:45 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/RHEA-2013-1667.html

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