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

Lennart Poettering lennart at poettering.net
Mon Oct 25 14:24:38 PDT 2010


On Mon, 25.10.10 16:46, Bill Nottingham (notting at redhat.com) wrote:

> 
> 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? 

It might be necessary to run authconfig once, to get the pam files
written properly, if you are running on an upgraded machine. Does it
make this work?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list