Revert "journal-file: truncate archived journals"
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 15 Jun 2021 06:29:55 +0000 (15:29 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 15 Jun 2021 13:50:36 +0000 (15:50 +0200)
commit0aa649b11d8176c823756c419cb75786787a2a62
tree322e9f5277ab0bef0e40cb51ecaadb00ab13c433
parente4948b0f0ada46db50247f203e5d238cee01f471
Revert "journal-file: truncate archived journals"

This reverts commit 592d419ce6e283c443901be4a69c95984821ff06.

The commit makes journald unstable, and is just an optimization
for the size of journal. Hence, it is safe to revert the commit.

Fixes #19895.
src/libsystemd/sd-journal/journal-file.c