]> git.ipfire.org Git - thirdparty/samba.git/commit
packaging: Remove ulimit usage for setting core file size limit
authorAnoop C S <anoopcs@redhat.com>
Tue, 10 May 2016 09:20:14 +0000 (14:50 +0530)
committerKarolin Seeger <kseeger@samba.org>
Tue, 31 May 2016 06:58:21 +0000 (08:58 +0200)
commit9b09d3d61b6c0cd28d5f0f346360a77394b4986a
tree054a8c2260bd51e307fe693d6ebadf89de42bbca
parent73c385cc9846dddd9baf274d3fe2615b45081f16
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)
packaging/RHEL-CTDB/setup/smb.init
packaging/RHEL/setup/smb.init