From 6343b37e9f3a473a81f6ecb0a0303bc9cd1b23ad Mon Sep 17 00:00:00 2001 From: Denis Chevalier Date: Thu, 6 Aug 2026 12:34:57 +0200 Subject: prevent core dumps --- etc/systemd/coredump.conf | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 etc/systemd/coredump.conf (limited to 'etc/systemd') diff --git a/etc/systemd/coredump.conf b/etc/systemd/coredump.conf new file mode 100644 index 0000000..7ec87e1 --- /dev/null +++ b/etc/systemd/coredump.conf @@ -0,0 +1,30 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Entries in this file show the compile time defaults. Local configuration +# should be created by either modifying this file (or a copy of it placed in +# /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" in +# the /etc/systemd/coredump.conf.d/ directory. The latter is generally +# recommended. Defaults can be restored by simply deleting the main +# configuration file and all drop-ins located in /etc/. +# +# Use 'systemd-analyze cat-config systemd/coredump.conf' to display the full config. +# +# See coredump.conf(5) for details. + +[Coredump] +Storage=none +ProcessSizeMax=0 +#Storage=external +#Compress=yes +# On 32-bit, the default is 1G instead of 32G. +#ProcessSizeMax=32G +#ExternalSizeMax=32G +#JournalSizeMax=767M +#MaxUse= +#KeepFree= +#EnterNamespace=no -- cgit