K8s Coredump Handler - Change default handler

Change default handler to k8s-coredump-handler
on kernel.core_pattern.

Test Plan:
PENDING: Install and bootstrap system
PENDING: Verify if kernel.core_pattern is changed
         to k8s-coredump-handler
PENDING: Validate k8s-coredump-handler behavior

Story: 2010261
Task: 46625

Signed-off-by: Heron Vieira <heron.vieira@windriver.com>
Change-Id: I34cf09b779d454abc2af27a477418b1afa986e8c
This commit is contained in:
Heron Vieira 2022-10-21 17:20:26 -03:00
parent a5fe044d5d
commit 9062e40603
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
# the core dump.
#
# See systemd-coredump(8) and core(5).
kernel.core_pattern=|/usr/lib/systemd/systemd-coredump %P %u %g %s %t 9223372036854775808 %h
kernel.core_pattern=|/usr/bin/k8s-coredump %P %u %g %s %t 9223372036854775808 %h %e"
# Allow that 16 coredumps are dispatched in parallel by the kernel. We want to
# be able to collect process metadata from /proc/%P/ while processing