Disable compression and "hash table hardening" for journald in the live installer environment as these features make the journal unreadable using the systemd libraries from 20.04 that are included in the subiquity snap.

This commit is contained in:
Michael Hudson-Doyle 2022-02-01 16:11:35 +13:00
parent 54044a17a6
commit b2094f0319
3 changed files with 17 additions and 0 deletions

9
debian/changelog vendored
View File

@ -1,3 +1,12 @@
livecd-rootfs (2.753) UNRELEASED; urgency=medium
* Disable compression and "hash table hardening" for journald in the
live installer environment as these features make the journal unreadable
using the systemd libraries from 20.04 that are included in the subiquity
snap. (LP: #1953744)
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Tue, 01 Feb 2022 16:10:28 +1300
livecd-rootfs (2.752) jammy; urgency=medium
* Remove references to archive.canonical.com, which is no longer used and

View File

@ -0,0 +1,4 @@
# systemd in 22.04+ uses zstd compression by default, which is not understood
# by the systemd libraries from focal used in the subiquity snap.
[Journal]
Compress=false

View File

@ -0,0 +1,4 @@
# systemd in 22.04+ uses "hash table hardening" by default which is not
# understood by the systemd libraries from focal used in the subiquity snap.
[Service]
Environment="SYSTEMD_JOURNAL_KEYED_HASH=0"