Keep journal files compatible with older versions
authorMichael Biebl <biebl@debian.org>
Mon, 17 Aug 2020 20:11:19 +0000 (22:11 +0200)
committerMichael Biebl <biebl@debian.org>
Thu, 15 Oct 2020 21:48:34 +0000 (22:48 +0100)
commit89e9c5a253bbb598021a3dcbfcd396c632e050e7
tree63bd5488f64e583110efb7b8c8d797fb3addc1cf
parent97c5d4e0d6d7a0445c9488750b1c71c7631be09e
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