richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
698723
From 830bd662276ee117e65a4b3d541f77e8b172eafd Mon Sep 17 00:00:00 2001
698723
From: David Tardon <dtardon@redhat.com>
698723
Date: Mon, 25 Jan 2021 16:19:56 +0100
698723
Subject: [PATCH] set core ulimit to 0 like on RHEL-7
698723
698723
RHEL-only
698723
698723
Resolves: #1905582
698723
---
698723
 src/core/system.conf.in | 2 +-
698723
 1 file changed, 1 insertion(+), 1 deletion(-)
698723
698723
diff --git a/src/core/system.conf.in b/src/core/system.conf.in
698723
index 0d93fbf147..b4d6dfa15a 100644
698723
--- a/src/core/system.conf.in
698723
+++ b/src/core/system.conf.in
698723
@@ -52,7 +52,7 @@
698723
 #DefaultLimitFSIZE=
698723
 #DefaultLimitDATA=
698723
 #DefaultLimitSTACK=
698723
-#DefaultLimitCORE=
698723
+DefaultLimitCORE=0
698723
 #DefaultLimitRSS=
698723
 #DefaultLimitNOFILE=
698723
 #DefaultLimitAS=