Keep journal files compatible with older versions
authorMichael Biebl <biebl@debian.org>
Mon, 17 Aug 2020 20:11:19 +0000 (22:11 +0200)
committerAdrian Bunk <bunk@debian.org>
Sun, 25 Aug 2024 19:05:15 +0000 (22:05 +0300)
commit45c86730f992982549fb8f4c2af71da5bdec623d
tree9482220e7b8243aba09e99789531318faa63070a
parentd498a8b4c575718d0ae309c3ba25f23fdf236fe3
Keep journal files compatible with older versions

Disable the KEYED-HASH journal feature by default and keep LZ4 (instead
of ZSTD) as default compression for new journal files. Otherwise journal
files are incompatible and can't be read by older journalctl
implementations.

This patch can be dropped in bullseye+1, as journalctl from bullseye
will then be able to read journal files with those features.

Closes: #968055
Gbp-Pq: Topic debian
Gbp-Pq: Name Keep-journal-files-compatible-with-older-versions.patch
src/journal/compress.h
src/journal/journal-file.c