systemd/systemd-235-disable-systemd-coredump.patch

14 lines
624 B
Diff
Raw Normal View History

2023-12-30 11:37:14 +01:00
--- 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.
2023-12-30 11:37:19 +01:00
-kernel.core_pattern=|@rootlibexecdir@/systemd-coredump %P %u %g %s %t %c %e
2023-12-30 11:37:14 +01:00
+# NOTE: systemd-coredump is disabled; to enable it create a file called
+# /etc/sysctl.d/50-coredump.conf with the following uncommented line:
2023-12-30 11:37:19 +01:00
+#kernel.core_pattern=|@rootlibexecdir@/systemd-coredump %P %u %g %s %t %c %e
2023-12-30 11:37:14 +01:00
+
+kernel.core_pattern = core
2023-12-30 11:37:52 +01:00
+kernel.core_uses_pid = 0