Keep journal files compatible with older versions
authorMichael Biebl <biebl@debian.org>
Mon, 17 Aug 2020 20:11:19 +0000 (22:11 +0200)
committerRaspbian forward porter <root@raspbian.org>
Thu, 26 Aug 2021 17:32:43 +0000 (18:32 +0100)
commit6f6f0fa4dd236448e8d4f39970ebf7f584c3de36
treeb21dc94af90965eaa6080aad7bdd64c8ef643bd3
parent752a03e1e0e81ec950b6dd9f4210ceeb5debe1b5
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