:: Re: [DNG] libpam-xdg-support / libp…
Top Pagina
Delete this message
Reply to this message
Auteur: Tomasz Torcz
Datum:  
Aan: dng
Onderwerp: Re: [DNG] libpam-xdg-support / libpam-systemd
On Thu, Sep 17, 2015 at 11:23:10AM +0200, Jaromil wrote:
> > If rundirs are on non-volatile storage, my implementation can delete
> > them at system shutdown (assuming an orderly shutdown is performed).
>
> if you use the /tmp prefix as default then you don't even need to handle
> such a deletion in the default case: it all falls back into the handling
> of /tmp, simplifying much the site configuration for those not willing
> to go into details, plus we avoiding unlinks in /var/run


But XDG_RUNTIME_DIR files should stay for the duration of user's session.
If user stays logged in for couple of weeks, /tmp cleanup removing
files older than 1 month can remove user files mid-session.

-- 
Tomasz Torcz                        Once you've read the dictionary,
xmpp: zdzichubg@???           every other book is just a remix.