[systemd-devel] Antw: [EXT] Re: [systemd‑devel] MaxRetentionSec does not delete entries older than the specified time

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Mon May 30 06:25:31 UTC 2022


>>> Barry Scott <barry at barrys-emacs.org> schrieb am 29.05.2022 um 14:22 in
Nachricht <038E8FCE-5820-4188-91E4-E42B6B448662 at barrys-emacs.org>:

> 
>> On 29 May 2022, at 12:36, baba <for.ad at free.fr> wrote:
>> 
>> ‑‑‑‑‑ Mail original ‑‑‑‑‑
>> De: "Andrei Borzenkov" <arvidjaar at gmail.com>
>> 
>>> In which case? Current active journal file gets archived when it is
>>> full. Retention policies apply only to these archived files.
>> 
>> In the case where MaxRetentionSec=3day.
>> And what do you mean by full?.

>From the header (in your original message) it was obvious that all the dates
displayed were covered by a single file.
So that file cannot be deleted without deleting everything. Obvious?


>> 
> 
> There are size limits on the journal files. I think that is what is being 
> referred to.
> See man journald.conf and the SystemMaxFileSize for example.
> 
> Barry





More information about the systemd-devel mailing list