Pass additional parameter "%P" - pid of the process in the initial namespace, which is host. (#5301)
This would enable the coredump_compress script to retrieve additional info regarding the crashing process.
This commit is contained in:
parent
fe01f0c285
commit
47a925cac6
@ -396,7 +396,7 @@ sudo mkdir -p $FILESYSTEM_ROOT/var/core
|
||||
|
||||
# Config sysctl
|
||||
sudo augtool --autosave "
|
||||
set /files/etc/sysctl.conf/kernel.core_pattern '|/usr/bin/coredump-compress %e %t %p'
|
||||
set /files/etc/sysctl.conf/kernel.core_pattern '|/usr/bin/coredump-compress %e %t %p %P'
|
||||
set /files/etc/sysctl.conf/kernel.softlockup_panic 1
|
||||
set /files/etc/sysctl.conf/kernel.panic 10
|
||||
set /files/etc/sysctl.conf/vm.panic_on_oom 2
|
||||
|
Loading…
Reference in New Issue
Block a user