Bug 92470 - libwayland does not use a fallback when XDG_RUNTIME_DIR is not available
Summary: libwayland does not use a fallback when XDG_RUNTIME_DIR is not available
Status: RESOLVED WONTFIX
Alias: None
Product: Wayland
Classification: Unclassified
Component: wayland (show other bugs)
Version: unspecified
Hardware: All All
: medium minor
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-15 12:36 UTC by Drew DeVault
Modified: 2015-12-21 11:32 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.