systemd/SOURCES/0107-set-core-ulimit-to-0-like-on-RHEL-7.patch

26 lines
690 B
Diff
Raw Permalink Normal View History

2023-03-28 09:30:11 +00:00
From 7b1eb758d1f87bfd98dbb8037a842ceedb245815 Mon Sep 17 00:00:00 2001
2021-12-07 19:23:34 +00:00
From: David Tardon <dtardon@redhat.com>
Date: Mon, 25 Jan 2021 16:19:56 +0100
Subject: [PATCH] set core ulimit to 0 like on RHEL-7
RHEL-only
2023-03-28 09:30:11 +00:00
Related: #2138081
2021-12-07 19:23:34 +00:00
---
src/core/system.conf.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/core/system.conf.in b/src/core/system.conf.in
2023-03-28 09:30:11 +00:00
index 5d1f6d24f0..624746e512 100644
2021-12-07 19:23:34 +00:00
--- a/src/core/system.conf.in
+++ b/src/core/system.conf.in
2023-03-28 09:30:11 +00:00
@@ -61,7 +61,7 @@
2021-12-07 19:23:34 +00:00
#DefaultLimitFSIZE=
#DefaultLimitDATA=
#DefaultLimitSTACK=
-#DefaultLimitCORE=
+DefaultLimitCORE=0:infinity
#DefaultLimitRSS=
#DefaultLimitNOFILE=1024:{{HIGH_RLIMIT_NOFILE}}
#DefaultLimitAS=