disable core dumps in limits.conf (though not sure what changed to make cores appear recently) [release 1.2.1-4mamba;Fri Mar 25 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 08:23:27 +01:00
parent f06a738480
commit 6fdcc2a711
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -Nru Linux-PAM-1.2.1.orig/modules/pam_limits/limits.conf Linux-PAM-1.2.1/modules/pam_limits/limits.conf
--- Linux-PAM-1.2.1.orig/modules/pam_limits/limits.conf 2016-03-25 14:06:10.788533468 +0100
+++ Linux-PAM-1.2.1/modules/pam_limits/limits.conf 2016-03-25 14:12:08.910369039 +0100
@@ -39,7 +39,7 @@
#<domain> <type> <item> <value>
#
-#* soft core 0
+* hard core 0
#* hard rss 10000
#@student hard nproc 20
#@faculty soft nproc 20

View File

@ -10,7 +10,7 @@
Name: pam
Version: 1.2.1
Release: 3mamba
Release: 4mamba
Summary: Utilities for monitoring your system and processes on your system
Group: System/Libraries
Vendor: openmamba
@ -33,6 +33,7 @@ Patch0: %{name}-0.77-pam_unix2.conf
Patch1: %{name}-0.99.7.1-cracklib_module.patch
Patch2: %{name}-1.1.3-limits.patch
Patch3: pam-1.1.6-glibc-2.16.patch
Patch4: pam-1.2.1-limits-disable-cores.patch
License: GPL, BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -98,6 +99,7 @@ This package contains the documentation files in html, pdf and postscript format
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
%configure \
@ -236,6 +238,9 @@ exit 0
#%endif
%changelog
* Fri Mar 25 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-4mamba
- disable core dumps in limits.conf (though not sure what changed to make cores appear recently)
* Mon Oct 12 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-3mamba
- add --follow-symlinks to %post sed or it will destroy password-auth symlink