]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-journal: allow to specify compression algorithm through env
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 4 Apr 2023 05:19:51 +0000 (14:19 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 4 Apr 2023 09:32:12 +0000 (18:32 +0900)
commit1f06ea747b5939a1083c436dd7dae97b37bedee7
treec25d0c6fe82898e1a06bde0e6db4146b75adf516
parent2360352ef02548723ac0c8eaf5ff6905eb9eeca5
sd-journal: allow to specify compression algorithm through env

Fixes RHBZ#2183546 (https://bugzilla.redhat.com/show_bug.cgi?id=2183546).

Previously, journal file is always compressed with the default algorithm
set at compile time. So, if a newer algorithm is used, journal files
cannot be read by older version of journalctl that does not support the
algorithm.

Co-authored-by: Colin Walters <walters@verbum.org>
docs/ENVIRONMENT.md
src/libsystemd/sd-journal/journal-file.c