summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorAnoop C S <anoopcs@redhat.com>2016-05-10 14:50:14 +0530
committerKarolin Seeger <kseeger@samba.org>2016-05-31 08:58:21 +0200
commite1b736379afbebf7f54dae573cb50a1cc54c2198 (patch)
tree878d94ac5816d3f82e6be533eb9e2e3c812c7930 /packaging
parent211938fc6bb869f6ca7e2fd70e9c7e09afa7124d (diff)
downloadsamba-e1b736379afbebf7f54dae573cb50a1cc54c2198.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. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11907 Signed-off-by: Anoop C S <anoopcs@redhat.com> Reviewed-by: Jose A. Rivera <jarrpa@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> (cherry picked from commit 46524b4543acc9d104d85136c0a4a9e006fc099c)
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