richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
aa0848
From 7344cdfb2792f67e50848f87eced21cded226d4a Mon Sep 17 00:00:00 2001
aa0848
From: David Tardon <dtardon@redhat.com>
aa0848
Date: Mon, 25 Jan 2021 16:19:56 +0100
aa0848
Subject: [PATCH] set core ulimit to 0 like on RHEL-7
aa0848
aa0848
RHEL-only
aa0848
aa0848
Resolves: #1998509
aa0848
---
aa0848
 src/core/system.conf.in | 2 +-
aa0848
 1 file changed, 1 insertion(+), 1 deletion(-)
aa0848
aa0848
diff --git a/src/core/system.conf.in b/src/core/system.conf.in
aa0848
index c0dc6a7e17..5913b5b0e4 100644
aa0848
--- a/src/core/system.conf.in
aa0848
+++ b/src/core/system.conf.in
aa0848
@@ -59,7 +59,7 @@
aa0848
 #DefaultLimitFSIZE=
aa0848
 #DefaultLimitDATA=
aa0848
 #DefaultLimitSTACK=
aa0848
-#DefaultLimitCORE=
aa0848
+DefaultLimitCORE=0:infinity
aa0848
 #DefaultLimitRSS=
aa0848
 #DefaultLimitNOFILE=1024:{{HIGH_RLIMIT_NOFILE}}
aa0848
 #DefaultLimitAS=