Skip to content

Commit

Permalink
Pass additional parameter "%P" - pid of the process in the initial na…
Browse files Browse the repository at this point in the history
…mespace, which is host. (#5301)

This would enable the coredump_compress script to retrieve additional info regarding the crashing process.
  • Loading branch information
renukamanavalan authored and abdosi committed Oct 6, 2020
1 parent ae3d458 commit cc13580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,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
Expand Down

0 comments on commit cc13580

Please sign in to comment.