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.
This commit is contained in:
Lennart Poettering 2015-11-17 14:01:20 +01:00
parent 92939fc4c0
commit d1fcdcd87a
1 changed files with 1 additions and 1 deletions

View 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