b677e7
From e2f5e8ccb27f48717b50339f58582d70ad5f59b1 Mon Sep 17 00:00:00 2001
b677e7
From: Frantisek Sumsal <fsumsal@redhat.com>
b677e7
Date: Tue, 3 Aug 2021 11:52:36 +0200
b677e7
Subject: [PATCH] Set default core ulimit to 0, but keep the hard limit
b677e7
 ulimited
b677e7
b677e7
so users can change it later.
b677e7
b677e7
Follow-up to 830bd662276ee117e65a4b3d541f77e8b172eafd.
b677e7
b677e7
rhel-only
b677e7
Resolves: #1905582
b677e7
---
b677e7
 src/core/system.conf.in | 2 +-
b677e7
 1 file changed, 1 insertion(+), 1 deletion(-)
b677e7
b677e7
diff --git a/src/core/system.conf.in b/src/core/system.conf.in
b677e7
index b4d6dfa15a..84246c0e36 100644
b677e7
--- a/src/core/system.conf.in
b677e7
+++ b/src/core/system.conf.in
b677e7
@@ -52,7 +52,7 @@
b677e7
 #DefaultLimitFSIZE=
b677e7
 #DefaultLimitDATA=
b677e7
 #DefaultLimitSTACK=
b677e7
-DefaultLimitCORE=0
b677e7
+DefaultLimitCORE=0:infinity
b677e7
 #DefaultLimitRSS=
b677e7
 #DefaultLimitNOFILE=
b677e7
 #DefaultLimitAS=