Mailinglist Archive: opensuse-factory (564 mails)
| < Previous | Next > |
Re: [opensuse-factory] [12.1] massive data loss in /var/tmp/
- From: Karl Eichwalder <ke@xxxxxxx>
- Date: Tue, 06 Dec 2011 10:31:11 +0100
- Message-id: <sh7h2aqc68.fsf@frechet.suse.de>
Ludwig Nussel <ludwig.nussel@xxxxxxx> writes:
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?
--
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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx
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?
--
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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx
| < Previous | Next > |