
Le mardi 06 décembre 2011 à 10:31 +0100, Karl Eichwalder a écrit :
Ludwig Nussel <ludwig.nussel@suse.de> writes:
Melchior FRANZ wrote:
Apparently, 12.1 has added /var/tmp/ to TMP_DIRS_TO_CLEAR in /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: https://bugzilla.novell.com/show_bug.cgi?id=735027.
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 this?
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?
I'd prefer to have the variables handled by systemd. But since time is a scarce resource, contributed patch would help for this :) -- Frederic Crozat <fcrozat@suse.com> SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org