teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame SOURCES/0616-Set-default-core-ulimit-to-0-but-keep-the-hard-limit.patch

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