]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sysctl: use %P instead of %p in core pattern
authorLennart Poettering <lennart@poettering.net>
Tue, 17 Nov 2015 13:01:20 +0000 (14:01 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 17 Nov 2015 16:32:49 +0000 (17:32 +0100)
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.

sysctl.d/50-coredump.conf.in

index d5f600ef4570afdcc1a79a8827cf3a5149e1bd7d..5e04c821b60df686791ab53b50abdb390281eb8d 100644 (file)
@@ -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