summaryrefslogtreecommitdiff
path: root/sysctl.d
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-17 14:01:20 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-17 17:32:49 +0100
commitd1fcdcd87a4f0ffebfc98f404a7eae477dc3fd86 (patch)
tree08899c3b9db7b757f0827fff74bcf71e0c50dc14 /sysctl.d
parent92939fc4c0261dccd4b755186aba84a9b1412bed (diff)
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.
Diffstat (limited to 'sysctl.d')
-rw-r--r--sysctl.d/50-coredump.conf.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysctl.d/50-coredump.conf.in b/sysctl.d/50-coredump.conf.in
index d5f600ef45..5e04c821b6 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