On Wed, Nov 23, 2011 at 03:46:33PM +0100, Ludwig Nussel wrote:
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.
Wait a minute. I just checked on my system upgraded from 11.4 and on
my system /usr/lib/tmpfiles.d/tmp.conf also contains these entries.
In /etc/sysconfig/cron I have forbidden cleans of /tmp (set to 0 days)
and /var/tmp (long tmp is unset). Does the above mean that although
I have no .rpmsave or .rpmnew files and no entry in the release notes,
the contents of both diretories will be "cleaned up" despite my explicit
command to leave them alone?
If so, I think an urgent warning need to be issued and the bug should
be fixed as quickly as possible.
Joerg Mayer <jmayer(a)loplof.de>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
To unsubscribe, e-mail: opensuse-factory+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-factory+owner(a)opensuse.org