On 2016-11-07 14:06, listreader wrote:
On Mon, 7 Nov 2016 13:48:39 +0100 "Carlos E. R."
wrote: On 2016-11-07 13:38, listreader wrote:
There was supposed to be a cronjob that deleted old /tmp files, but it was superseded with something from systemd that doesn't work right. Upstream says that /tmp should be a ramdisk, so apparently they do not care. Perhaps I should resurrect the old cron script.
I autoclean tmp every few days but I forgot where it was and it took me a while to find it. Here I think it is: /etc/tmpfiles.d/tmp.conf
and I think my customizing was/is:
# Clear tmp directories separately, to make them easier to override # SUSE policy: we don't clean those directories d /tmp 1777 root root 3d d /var/tmp 1777 root root 10d
Similarly here:
d /tmp 1777 root root 100d d /var/tmp 1777 root root 300d
But there is also this:
# Exclude namespace mountpoints created with PrivateTmp=yes x /tmp/systemd-private-* x /var/tmp/systemd-private-* X /tmp/systemd-private-*/tmp X /var/tmp/systemd-private-*/tmp
Your 100d and 300d seems mighty long. Do you really want tmp files hanging around for that long (300d = almost a year).
Yes, I do :-) 10 days is too little when the typical uptime is 30 days. Yet I have files in there which are over a year old. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)