Ludwig Nussel <ludwig.nussel(a)suse.de> writes:
Melchior FRANZ wrote:
Apparently, 12.1 has added /var/tmp/ to
/etc/sysconfig/cron. I was quite surprised when I found out today
that I've lost a few GB of data, which used to be safe there.
$ tail -2 /usr/lib/tmpfiles.d/tmp.conf
d /tmp 1777 root root 10d
d /var/tmp 1777 root root 30d
That tells systemd to clear files older than 10 resp 30 days in those
directories. systemd does not honor TMP_DIRS_TO_CLEAR.
I'm going to add this to the release notes:
The behavior per se is ok, but in the update case, when it does not
honor old settings, I consider it as a bug. Are there plans to fix
And, of course, it would have been a bug, if default sysv/sysconfig and
systemd related settings would differ... Do we plan to remove these
variables from /etc/sysconfig/cron or will we propagate the values from
sysconfig to /usr/lib/tmpfiles.d/tmp.conf?
Karl Eichwalder SUSE LINUX Products GmbH
R&D / Documentation Maxfeldstraße 5
90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
To unsubscribe, e-mail: opensuse-factory+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-factory+owner(a)opensuse.org