Bug 92470

Summary: libwayland does not use a fallback when XDG_RUNTIME_DIR is not available
Product: Wayland Reporter: Drew DeVault <sir>
Component: waylandAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED WONTFIX QA Contact:
Severity: minor    
Priority: medium CC: sir
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Drew DeVault 2015-10-15 12:36:41 UTC
The XDG specification asks applications to fall back to a replacement directory with similar capabilities and print a warning message, rather than to blow up.

http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

http://cgit.freedesktop.org/wayland/wayland/tree/src/wayland-server.c#n1102
Comment 1 Pekka Paalanen 2015-10-15 13:02:18 UTC
The problem with this is that we cannot arrange for a replacement with "similar capabilities" automatically. It's very hard to give all the guarantees required when you're not a distribution integrator.

I recall this has been discussed before. Some random seach hits:
http://lists.freedesktop.org/pipermail/xdg/2015-June/013517.html
http://lists.freedesktop.org/archives/xdg/2012-December/012593.html

But the email I was actually looking for is:
http://lists.freedesktop.org/archives/wayland-devel/2012-June/003935.html

It has been thought about before, and concluded that it is best to not try to make up some replacement that may or may not work correctly.

I would be tempted to close this as WONTFIX, but let's see if there are better ideas today.
Comment 2 Pekka Paalanen 2015-12-21 11:32:02 UTC
Doesn't seem like anyone had better ideas, so closing as WONTFIX.

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.