weston does not fallback gracefully if $XDG_RUNTIME_DIR is not set
Bug #1058211 reported by
Darxus
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Weston |
Won't Fix
|
Medium
|
|||
weston (Debian) |
Confirmed
|
Unknown
|
|||
weston (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Without $XDG_RUNTIME_DIR set, weston won't start. This package handles it more properly than the user setting it manually.
(It's possible the switch to not starting happened after this release, and this release will start, resulting in things not working for reasons that aren't very clear to the user - server and clients ending up with different $XDG_RUNTIME_DIRs.)
Not certain if it should be depends, recommends, or suggests. But recommends seems right to me.
libpam-xdg-support was very recently packaged for bug 894391, blueprint foundations-
description: | updated |
description: | updated |
Changed in weston (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Logan Rosen (logan) |
Changed in weston: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in weston: | |
status: | Confirmed → Won't Fix |
Changed in weston (Debian): | |
status: | Unknown → Confirmed |
Changed in weston (Ubuntu): | |
status: | Confirmed → Won't Fix |
To post a comment you must log in.
Preferably don't add this dependency. This should be seeded as part of ubuntu-desktop, and weston itself should fall back to $something_sensible if the path isn't set.
from the spec http:// standards. freedesktop. org/basedir- spec/basedir- spec-latest. html
"""
If $XDG_RUNTIME_DIR is not set applications should fall back to a replacement directory with similar capabilities and print a warning message. Applications should use this directory for communication and synchronization purposes and should not place larger files in it, since it might reside in runtime memory and cannot necessarily be swapped out to disk.
"""