systemd/systemd-235-disable-systemd-coredump.patch
2023-12-30 11:37:52 +01:00

14 lines
624 B
Diff

--- systemd-228/sysctl.d/50-coredump.conf.in.orig 2015-11-23 21:25:34.287966718 +0100
+++ systemd-228/sysctl.d/50-coredump.conf.in 2015-11-24 00:28:21.717824291 +0100
@@ -9,4 +9,9 @@
# 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 %c %e
+# NOTE: systemd-coredump is disabled; to enable it create a file called
+# /etc/sysctl.d/50-coredump.conf with the following uncommented line:
+#kernel.core_pattern=|@rootlibexecdir@/systemd-coredump %P %u %g %s %t %c %e
+
+kernel.core_pattern = core
+kernel.core_uses_pid = 0