ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
698723
From e2f5e8ccb27f48717b50339f58582d70ad5f59b1 Mon Sep 17 00:00:00 2001
698723
From: Frantisek Sumsal <fsumsal@redhat.com>
698723
Date: Tue, 3 Aug 2021 11:52:36 +0200
698723
Subject: [PATCH] Set default core ulimit to 0, but keep the hard limit
698723
 ulimited
698723
698723
so users can change it later.
698723
698723
Follow-up to 830bd662276ee117e65a4b3d541f77e8b172eafd.
698723
698723
rhel-only
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 b4d6dfa15a..84246c0e36 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=0
698723
+DefaultLimitCORE=0:infinity
698723
 #DefaultLimitRSS=
698723
 #DefaultLimitNOFILE=
698723
 #DefaultLimitAS=