[systemd-devel] [PATCH 1/2] Don't clean /var/lock/subsys or /var/run/user; they're not aged content.

Bill Nottingham notting at redhat.com
Mon Oct 25 14:39:41 PDT 2010


Lennart Poettering (lennart at poettering.net) said: 
> > > > They will get 'cleaned' on boot due to being tmpfs anyway.
> > > 
> > > Hmm, but at least /var/run/user can be full of user stuff which might
> > > remain around when the user session crashes... Are you sure we don't
> > > need to clena this up from time to time?
> > 
> > In my current boot it's empty. I suppose it's possible that people
> > are using it as a session temp dir, but I'm not seeing it.
> 
> 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?

Bill


More information about the systemd-devel mailing list