From 22368f92d625dbce400ca0013815b4db3adcafaef623c2e07072bd5c42ba90b5 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Thu, 17 Dec 2020 10:43:58 +0000 Subject: [PATCH] Accepting request 856647 from home:fbui:systemd:openSUSE-Factory - Enable support for zstd compression systemd-journald will now use zstd for compressing large fields in journal files. systemd-coredump will also use this algorithm to compress coredump files. Please note that systemd older than v246 won't be able to read new journal files as zstd algorithm is not supported by these versions. This incompatible change was actually not the only one introduced by v246 since the hash tables in journal files have been hardened against hash collisions too in an incompatible way with older versions. OBS-URL: https://build.opensuse.org/request/show/856647 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1130 --- systemd-mini.changes | 17 +++++++++++++++++ systemd-mini.spec | 1 + systemd.changes | 17 +++++++++++++++++ systemd.spec | 1 + 4 files changed, 36 insertions(+) diff --git a/systemd-mini.changes b/systemd-mini.changes index d5d6ac36..7e9edbb1 100644 --- a/systemd-mini.changes +++ b/systemd-mini.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Wed Dec 16 10:40:48 UTC 2020 - Franck Bui + +- Enable support for zstd compression + + systemd-journald will now use zstd for compressing large fields in + journal files. systemd-coredump will also use this algorithm to + compress coredump files. + + Please note that systemd older than v246 won't be able to read new + journal files as zstd algorithm is not supported by these versions. + + This incompatible change was actually not the only one introduced by + v246 since the hash tables in journal files have been hardened + against hash collisions too in an incompatible way with older + versions. + ------------------------------------------------------------------- Mon Dec 14 07:55:03 UTC 2020 - Dominique Leuenberger diff --git a/systemd-mini.spec b/systemd-mini.spec index 450e5910..f9802bc8 100644 --- a/systemd-mini.spec +++ b/systemd-mini.spec @@ -79,6 +79,7 @@ BuildRequires: pkgconfig(liblzma) BuildRequires: pkgconfig(libpcre2-8) BuildRequires: pkgconfig(libqrencode) BuildRequires: pkgconfig(libselinux) >= 2.1.9 +BuildRequires: pkgconfig(libzstd) %ifarch aarch64 %ix86 x86_64 x32 %arm ppc64le s390x BuildRequires: pkgconfig(libseccomp) >= 2.3.1 %endif diff --git a/systemd.changes b/systemd.changes index d5d6ac36..7e9edbb1 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Wed Dec 16 10:40:48 UTC 2020 - Franck Bui + +- Enable support for zstd compression + + systemd-journald will now use zstd for compressing large fields in + journal files. systemd-coredump will also use this algorithm to + compress coredump files. + + Please note that systemd older than v246 won't be able to read new + journal files as zstd algorithm is not supported by these versions. + + This incompatible change was actually not the only one introduced by + v246 since the hash tables in journal files have been hardened + against hash collisions too in an incompatible way with older + versions. + ------------------------------------------------------------------- Mon Dec 14 07:55:03 UTC 2020 - Dominique Leuenberger diff --git a/systemd.spec b/systemd.spec index 1db25784..9e6679df 100644 --- a/systemd.spec +++ b/systemd.spec @@ -77,6 +77,7 @@ BuildRequires: pkgconfig(liblzma) BuildRequires: pkgconfig(libpcre2-8) BuildRequires: pkgconfig(libqrencode) BuildRequires: pkgconfig(libselinux) >= 2.1.9 +BuildRequires: pkgconfig(libzstd) %ifarch aarch64 %ix86 x86_64 x32 %arm ppc64le s390x BuildRequires: pkgconfig(libseccomp) >= 2.3.1 %endif