Red Hat Bugzilla – Bug 882339
spice-xpi doesn't clean up /tmp/spicec-XXXXXX/spice-foreign socket and /tmp/spicec-XXXXXX directory after the client exits
Last modified: 2016-05-31 21:31:27 EDT
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:
A patch for this issue was sent to the spice-devel mailing list: http://lists.freedesktop.org/archives/spice-devel/2013-April/012995.html
Please, check this scratch build. https://brewweb.devel.redhat.com/taskinfo?taskID=5910797
Seems to work with the build from Comment 3.
OK, fixed.
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
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