summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorAnoop C S <anoopcs@redhat.com>2016-05-10 14:50:14 +0530
committerGünther Deschner <gd@samba.org>2016-05-18 15:50:13 +0200
commit46524b4543acc9d104d85136c0a4a9e006fc099c (patch)
treeed56eaed63ba0c3734353960560a121894a3694e /packaging
parentaa5760433b219de7b41d35ca7ad6d4d702b89adf (diff)
downloadsamba-46524b4543acc9d104d85136c0a4a9e006fc099c.tar.gz
packaging: Remove ulimit usage for setting core file size limit
Recent commit ebd139c4db7e51a2d7843a773991f15cadf504dd modified smb.init to set core file size to 'unlimited' by default using the ulimit command. But when smb and winbind services are initiated via sysv init scripts, another variable named DAEMON_COREFILE_LIMIT takes higher priority in deciding the core file size. Therefore setting default value using ulimit command is useless. Signed-off-by: Anoop C S <anoopcs@redhat.com> Reviewed-by: Jose A. Rivera <jarrpa@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/RHEL-CTDB/setup/smb.init1
-rw-r--r--packaging/RHEL/setup/smb.init1
2 files changed, 0 insertions, 2 deletions
diff --git a/packaging/RHEL-CTDB/setup/smb.init b/packaging/RHEL-CTDB/setup/smb.init
index 00984d22fe8..4dd5b23ae7b 100644
--- a/packaging/RHEL-CTDB/setup/smb.init
+++ b/packaging/RHEL-CTDB/setup/smb.init
@@ -51,7 +51,6 @@ RETVAL=0
start() {
KIND="SMB"
echo -n $"Starting $KIND services: "
- ulimit -c unlimited
daemon smbd $SMBDOPTIONS
RETVAL=$?
echo
diff --git a/packaging/RHEL/setup/smb.init b/packaging/RHEL/setup/smb.init
index dff9cd8254a..af85b2c079a 100644
--- a/packaging/RHEL/setup/smb.init
+++ b/packaging/RHEL/setup/smb.init
@@ -50,7 +50,6 @@ RETVAL=0
start() {
KIND="SMB"
echo -n $"Starting $KIND services: "
- ulimit -c unlimited
daemon smbd $SMBDOPTIONS
RETVAL=$?
echo