richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
b677e7
From 830bd662276ee117e65a4b3d541f77e8b172eafd Mon Sep 17 00:00:00 2001
b677e7
From: David Tardon <dtardon@redhat.com>
b677e7
Date: Mon, 25 Jan 2021 16:19:56 +0100
b677e7
Subject: [PATCH] set core ulimit to 0 like on RHEL-7
b677e7
b677e7
RHEL-only
b677e7
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 0d93fbf147..b4d6dfa15a 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=
b677e7
+DefaultLimitCORE=0
b677e7
 #DefaultLimitRSS=
b677e7
 #DefaultLimitNOFILE=
b677e7
 #DefaultLimitAS=