systemd/systemd-205-disable-systemd-coredump.patch
2023-12-30 11:35:14 +01:00

14 lines
585 B
Diff

--- systemd-205/sysctl.d/50-coredump.conf.in.orig 2013-07-17 14:57:45.487845209 +0200
+++ systemd-205/sysctl.d/50-coredump.conf.in 2013-07-17 14:59:18.777993310 +0200
@@ -7,4 +7,9 @@
# See sysctl.d(5) and core(5) for for details.
-kernel.core_pattern=|@rootlibexecdir@/systemd-coredump %p %u %g %s %t %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 %e
+
+kernel.core_pattern = core
+kernel.core_users_pid = 0