After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 763274 - make sure the runtime directory exists
make sure the runtime directory exists
Status: RESOLVED FIXED
Product: at-spi
Classification: Platform
Component: at-spi2-atk
unspecified
Other Linux
: Normal normal
: ---
Assigned To: At-spi maintainer(s)
At-spi maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-03-08 00:22 UTC by Samuel Thibault
Modified: 2016-03-09 15:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed fix (1.12 KB, patch)
2016-03-08 00:22 UTC, Samuel Thibault
none Details | Review

Description Samuel Thibault 2016-03-08 00:22:40 UTC
Created attachment 323333 [details] [review]
proposed fix

It may happen that the home directory of the user does not contain the runtime directory yet, when it's a freshly-created home for instance. In that case, establishing the p2p socket in spi_atk_create_socket will fail since it only tries to create a socket in that directory without checking that the directory exists.

The proposed patch fixes this by making spi_atk_create_socket create the runtime directory if it doesn't exist yet.
Comment 1 Mike Gorse 2016-03-08 19:33:47 UTC
Committed. Thanks for the patch.

master: 37bba7
Comment 2 Allison Karlitskaya (desrt) 2016-03-08 20:43:46 UTC
See bug 763344 for a better fix.  Comments welcome.
Comment 3 Allison Karlitskaya (desrt) 2016-03-09 15:44:25 UTC
Okay.  We committed that fix, so it should be safe to revert this commit once you depend on a new enough GLib version.