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>
Sat, 29 Aug 2020 16:39:32 +0000 (17:39 +0100)
commit1d1801903156dfb77cc2b2983e73dbcc0a66cb09
tree2c5e121c7ef11d46699d2981fcf1d11d959cbaf9
parent265a2239084bf95d3d4c7e24af033c1b2784b8bf
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