-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2014-06-23 09:32, Basil Chupin wrote:
On 23/06/14 17:15, C wrote:
I have no knowledge of anything to do with this 'cleaning up' of /tmp except that long time ago one could set 'MAX Days' in some control file or other (it's in my notebook somewhere, I know) but I am wondering if what Cristian suggested is at the "bottom" of this?
Yes. There was a setting, for decades, in sysconfig, to adjust the cronjob that deleted old files, so it was clearly visible, and about everybody knew where to find it. But the script was removed, systemd had to take care of it (I'm unsure why), the defaults did a poor job, there were also some bugs, and few people know where to adjust it now. So the result was that /tmp started to grow out of control. Maybe an adequate comment added to the default cron file in sysconfig would help (it should have been added two releases ago, at least)
Cristian suggested to insert lines
d /tmp 1777 root root 10d d /var/tmp 1777 root root 30d
in /etc/tmpfiles.d/localtmp.conf -- except that 'localtmp.conf' does not exist, at least not on my system.
I had to use nano to manually create this *conf file with those lines.
Yes, I just added them as well. Only that I increased the number of days, because my systems have quite longer uptimes. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlOoI5oACgkQtTMYHG2NR9Ww7gCghlIpwTdViiue7xPjYIBaMXTg 9RsAn0SvZba5BgacuwYV+KmnGRckxicx =DKGj -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org