On Fri, 30 Mar 2012, Karl Eichwalder wrote:
Ruediger Meier
writes: Also, by default, we clean files in /tmp that are older than 10 days. It might help with the switch to tmpfs.
This major change has never been announced or documented for 12.1. The behavior is different on systemd and sysvinit systems. I'd call it a bug allthough 10 days may be a good default.
At least, there is a somehow related snippet in the updated release notes (strange, the file (version 12.1.7) at http://www.suse.com/releasenotes/i386/openSUSE/12.1/RELEASE-NOTES.en.html is outdated):
systemd: Cleaning Directories (/tmp and /var/tmp) =================================================
systemd maintains directories as specified in the tmpfiles.d directories and in /lib/systemd/system/systemd-tmpfiles-clean.timer. For more information, see the tmpfiles.d manpage.
By default, systemd cleans tmp directories daily as configured in /usr/lib/ tmpfiles.d/tmp.conf:
d /tmp 1777 root root 10d d /var/tmp 1777 root root 30d
Note: systemd does not honor sysconfig variables in /etc/sysconfig/cron such as TMP_DIRS_TO_CLEAR.
Instead of noting that TMP_DIRS_TO_CLEAR is ignored we should remove
those now pointless variables (given that for 12.2 systemd will be
mandatory?)
Richard.
--
Richard Guenther