ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
152484
From 7344cdfb2792f67e50848f87eced21cded226d4a 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
4eda52
Resolves: #1998509
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
152484
index c0dc6a7e17..5913b5b0e4 100644
4eda52
--- a/src/core/system.conf.in
4eda52
+++ b/src/core/system.conf.in
4eda52
@@ -59,7 +59,7 @@
4eda52
 #DefaultLimitFSIZE=
4eda52
 #DefaultLimitDATA=
4eda52
 #DefaultLimitSTACK=
4eda52
-#DefaultLimitCORE=
4eda52
+DefaultLimitCORE=0:infinity
4eda52
 #DefaultLimitRSS=
4eda52
 #DefaultLimitNOFILE=1024:{{HIGH_RLIMIT_NOFILE}}
4eda52
 #DefaultLimitAS=