naccyde / rpms / systemd

Forked from rpms/systemd a year ago
Clone
ac3a84
From 7b1eb758d1f87bfd98dbb8037a842ceedb245815 Mon Sep 17 00:00:00 2001
4eda52
From: David Tardon <dtardon@redhat.com>
4eda52
Date: Mon, 25 Jan 2021 16:19:56 +0100
4eda52
Subject: [PATCH] set core ulimit to 0 like on RHEL-7
4eda52
4eda52
RHEL-only
4eda52
ac3a84
Related: #2138081
4eda52
---
4eda52
 src/core/system.conf.in | 2 +-
4eda52
 1 file changed, 1 insertion(+), 1 deletion(-)
4eda52
4eda52
diff --git a/src/core/system.conf.in b/src/core/system.conf.in
ac3a84
index 5d1f6d24f0..624746e512 100644
4eda52
--- a/src/core/system.conf.in
4eda52
+++ b/src/core/system.conf.in
ac3a84
@@ -61,7 +61,7 @@
4eda52
 #DefaultLimitFSIZE=
4eda52
 #DefaultLimitDATA=
4eda52
 #DefaultLimitSTACK=
4eda52
-#DefaultLimitCORE=
4eda52
+DefaultLimitCORE=0:infinity
4eda52
 #DefaultLimitRSS=
4eda52
 #DefaultLimitNOFILE=1024:{{HIGH_RLIMIT_NOFILE}}
4eda52
 #DefaultLimitAS=