Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

session-management.md: Proposed way of handling $XDG_RUNTIME_DIR #792

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bermudi
Copy link

@bermudi bermudi commented Feb 23, 2024

Manually setting $XDG_RUNTIME_DIR is not trivial to do while staying compliant to the XDG spec as noted in issue #635. This proposed way handles $XDG_RUNTIME_DIR properly without having to install elogind and should suggested as its alternative

fixes #635

Manually setting `$XDG_RUNTIME_DIR` is not trivial to do while staying compliant to the XDG spec as noted in issue void-linux#635. This proposed way handles `$XDG_RUNTIME_DIR` properly without having to install `elogind` and should suggested as its alternative
@ahesford
Copy link
Member

I reject your assertion that managing the environment variable is cumbersome, and the alternative you propose is both known to have consistency issues and hasn't been touched in several years.

The lifetime requirement on XDG runtime directories is without merit, especially because the spec itself declares that applications must properly handle situations where the runtime directory contains stale content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

session-management.md: Proper handling of XDG_RUNTIME_DIR
2 participants