On 2014-01-26 15:48, Jan Ritzerfeld wrote:
Am Sonntag, 26. Januar 2014, 15:08:14 schrieb Carlos E. R.:
[...] So, the situation is that systemd does not clean /tmp, and the old cron scripts are disabled, so nothing clear them. Right? [...]
systemd deletes old items in /tmp and /var/tmp if you tell systemd to do so "by copying /usr/lib/tmpfiles.d/tmp.conf to /etc/tmpfiles.d/tmp.conf and modifying the copied file. " and /usr/lib/tmpfiles.d/tmp.conf says "See tmpfiles.d(5) for details". That is, you simply have to specify the desired age and systemd deletes old items every day and 15 minutes after boot. However, there were some bugs regarding private temps.
That is more complicated than the old sysconfig method in YaST. No manual reading was required. It even seems less configurable (users to skip). I have seen several posts referring people to documentation about how to configure tmp dir clearing, the old sysconfig way - which of course, does not work. The variables in "/etc/sysconfig/cron" still exist, and there is no mention in the config files that they do not work. So people try them. -- Cheers / Saludos, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar)