Bug 106432 - authutil: save IceAuthFile on XDG_RUNTIME_DIR if set
Summary: authutil: save IceAuthFile on XDG_RUNTIME_DIR if set
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/ICE (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
Depends on:
Reported: 2018-05-07 18:20 UTC by Marco Trevisan (Treviño)
Modified: 2018-08-10 20:20 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

authutil: save IceAuthFile on XDG_RUNTIME_DIR if set (964 bytes, patch)
2018-05-07 18:20 UTC, Marco Trevisan (Treviño)
no flags Details | Splinter Review

Description Marco Trevisan (Treviño) 2018-05-07 18:20:23 UTC
It could happen that IceLockAuthFile leaves lock files in inconsistent state, then making impossible to login again. Even after a reboot.
I expect the ICE auth files to be stored somewhere that is not preserved through sessions
Comment 1 Marco Trevisan (Treviño) 2018-05-07 18:20:26 UTC
Created attachment 139408 [details] [review]
authutil: save IceAuthFile on XDG_RUNTIME_DIR if set

This is something that should be per user session and not preserved.

In this way we also fix deadlocks on IceLockAuthFile when the -c and -l
files have already been saved and not deleted (with a full logout/login,
at least).
Comment 2 GitLab Migration User 2018-08-10 20:20:09 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/lib/libice/issues/6.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.