MT#62935 Update sysctl kernel.core_pattern for systemd 252.38-1~deb12u1 security update

The systemd package got a security update in Debian bookworm, which
changed the systemd-coredump kernel sysctl core_pattern value (by
appending « %d»). 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 support Debian bookworm
releases.

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

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

Loading…
Cancel
Save