teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame SOURCES/0039-set-core-ulimit-to-0-like-on-RHEL-7.patch

4eda52
From 2edaafdfacc14088d7b6f04eec578bd048057103 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
4eda52
index f2c75fcd32..c290b14b8b 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=