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):
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
/tmp/spicec-XXXXXX/spice-foreign directory and socket are left behind
no /tmp/spicec-XXXXXX directory exists anymore
A patch for this issue was sent to the spice-devel mailing list:
Please, check this scratch build.
Seems to work with the build from Comment 3.
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.