
On Wednesday 23 November 2011, Greg Freemyer wrote:
On Wed, Nov 23, 2011 at 10:02 AM, Ruediger Meier <sweet_f_a@gmx.de> wrote:
On Wednesday 23 November 2011, Ludwig Nussel wrote:
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
systemd is also cron replacement?
That tells systemd to clear files older than 10 resp 30 days in those directories. systemd does not honor TMP_DIRS_TO_CLEAR.
If this is really the default now then it should have been a major point on ReleaseNotes. Since this major change was not announced I would consider it a major bug to be fixed by adding /etc/tmpfiles.d according to what is the default in /etc/sysconfig/cron.
If you read the whole thread:
- The user at some point in the past added /var/tmp to /etc/tmpfiles.d
- apparently a bug kept that from being honored, so files just sat there
- 12.1 fixed the bug and files disappeared.
Overall its bad luck, but it is not a major issue from the release management perspective.
I've read the whole thread. I know that Ludwig's post has nothing to do with the original problem but he still discovered another bug. Moreover I guess now TMP_DIRS_TO_CLEAR is still used by cron. So now user can't fully rely on any of both files neither /usr/lib/tmpfiles.d/tmp.conf nor /etc/sysconfig/cron. cu, Rudi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org