MT#62935 Update sysctl kernel.core_pattern for systemd 257.6-1 security update

The systemd package got a security update in Debian trixie, which
changed the systemd-coredump kernel sysctl core_pattern value (by
appending « %d %F»). This is part of the fix for CVE-2025-4598.

This has caused ngcp-system-tests to fail to match the new pattern,
so we need to adapt it for all currently supported Debian trixie
releases.

In addition for Debian trixie, a new enough Linux kernel is required
to benefit from the full security fix.

Ref: https://security-tracker.debian.org/tracker/CVE-2025-4598
Ref: 2eb46dce07
Change-Id: I89e6ff1d084403e6ae4b4eca6f5606b0d2417c01
mr13.4.1
Guillem Jover 1 year ago
parent 2abaac7e3c
commit dac6611c92

@ -5,7 +5,7 @@ kernel-param:
kernel.core_pattern:
{{if ge .Env.DEBIAN_RELEASE "13"}}
value: "|/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h"
value: "|/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %d %F"
{{else}}
value: "|/lib/systemd/systemd-coredump %P %u %g %s %t 9223372036854775808 %h %d"
{{end}}

Loading…
Cancel
Save