On Mon, 7 Nov 2016 13:48:39 +0100
"Carlos E. R."
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). With 3d and 10d it has seemed to work perfectly fine for me. YMMV. The 'x' are old mountpoints, not files. Delete them manually or change the default configuration which does not delete them automatically. Ralph -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org