[systemd-devel] [PATCH 1/2] Don't clean /var/lock/subsys or /var/run/user; they're not aged content.
lennart at poettering.net
Mon Oct 25 14:47:30 PDT 2010
On Mon, 25.10.10 17:39, Bill Nottingham (notting at redhat.com) wrote:
> > Hmm, pam_systemd should create a user dir beneath it and set
> > XDG_RUNTIME_DIR accordingly. Doesn't that work for you?
> I was looking for non-systemd users - while the user-specific dir
> is created, there's no actual data that ends up being written there
> (at least on my test desktop). Perhaps none of the apps in that
> set are using XDG_RUNTIME_DIR?
XDG_RUNTIME_DIR is actually only something I have discussed with a
couple of folks and implemented it because I needed it in
pam_systemd. However, there's no official documentation for it, nor have
I ever proposed it to the xdg mailing list, since there's a bit of a
uncertainty whether XDG_RUNTIME_DIR should be bound to the individual
sessions or to "first session to last session of a user".
I hope that at lpc/gnome summmit the folks involved can discuss this in
further detail so that we can agree on something and formalize it, and
send it to XDG. Until this happens nobody outside of systemd should use
It's a bit like XDG_SESSION_COOKIE, which is not official in any
way. While XDG_SESSION_COOKIE is probably going to go away sooner or
later, XDG_RUNTIME_DIR is something I definitely want to see documented
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel