<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Apr 11, 2015 at 7:21 PM, Zbigniew Jędrzejewski-Szmek <span dir="ltr"><<a href="mailto:zbyszek@in.waw.pl" target="_blank">zbyszek@in.waw.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sat, Apr 11, 2015 at 02:26:57PM +0200, Kai Krakow wrote:<br>
> dean <<a href="mailto:deanshannon3@gmail.com">deanshannon3@gmail.com</a>> schrieb:<br>
><br>
> > Ok thanks for your prompt reply. It is my understanding the the<br>
> > house-keeping-plugin "cleans" /tmp so does it need access?<br>
</span>That sounds wrong. First, systemd is already cleaning /tmp, so nothing<br>
good is going to come out of cleaning it twice.</blockquote><div><br></div><div>I think the difference here is that g-s-d has per-user configuration, so user A can set the expiry for their own files to 1 day, user B can set it to 7 days, and systemd can enforce a system-wide maximum of 10 days.</div><div><br></div><div>Though it can be confusing if the GNOME UI allows selecting a longer expiry than systemd has.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If the user is not running,<br>
the cleanup is not going to happen, so on a multi-user system, when the<br>
user logs out, files would stay around infinetely.</blockquote><div><br></div><div>Well, tmpfiles.d enforces it anyway.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So cleanup from<br>
the graphical session is ineffective. More importantly, an unprivileged<br>
user cannot access files without bumping their access time stamp. So<br>
trying to do the cleanup as an unprivileged user actually interferes<br>
with systemd-tmpfiles (see df99a9ef5bb7a89b92 and<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1183684" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1183684</a>).<br></blockquote><div><br></div><div>Even a stat()? Ouch.</div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Mantas Mikulėnas <<a href="mailto:grawity@gmail.com" target="_blank">grawity@gmail.com</a>></div></div>
</div></div>