packaging: Remove ulimit usage for setting core file size limit
commite1b736379afbebf7f54dae573cb50a1cc54c2198
authorAnoop C S <anoopcs@redhat.com>
Tue, 10 May 2016 09:20:14 +0000 (10 14:50 +0530)
committerKarolin Seeger <kseeger@samba.org>
Tue, 31 May 2016 06:58:21 +0000 (31 08:58 +0200)
tree878d94ac5816d3f82e6be533eb9e2e3c812c7930
parent211938fc6bb869f6ca7e2fd70e9c7e09afa7124d
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