From: Lennart Poettering Date: Tue, 17 Nov 2015 13:01:20 +0000 (+0100) Subject: sysctl: use %P instead of %p in core pattern X-Git-Tag: v228~1^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d1fcdcd87a4f0ffebfc98f404a7eae477dc3fd86;p=thirdparty%2Fsystemd.git sysctl: use %P instead of %p in core pattern That way we'll get the PID on the host, rather than the one in a PID namespace. Which should make the coredump handler less confusing. Fixes #1930. --- diff --git a/sysctl.d/50-coredump.conf.in b/sysctl.d/50-coredump.conf.in index d5f600ef457..5e04c821b60 100644 --- a/sysctl.d/50-coredump.conf.in +++ b/sysctl.d/50-coredump.conf.in @@ -9,4 +9,4 @@ # and systemd-coredump(8) and core(5) for the explanation of the # setting below. -kernel.core_pattern=|@rootlibexecdir@/systemd-coredump %p %u %g %s %t %e +kernel.core_pattern=|@rootlibexecdir@/systemd-coredump %P %u %g %s %t %e