1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

packaging: Remove ulimit usage for setting core file size limit

Recent commit ebd139c4db 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>
This commit is contained in:
Anoop C S 2016-05-10 14:50:14 +05:30 committed by Günther Deschner
parent aa5760433b
commit 46524b4543
2 changed files with 0 additions and 2 deletions

View File

@ -51,7 +51,6 @@ RETVAL=0
start() {
KIND="SMB"
echo -n $"Starting $KIND services: "
ulimit -c unlimited
daemon smbd $SMBDOPTIONS
RETVAL=$?
echo

View File

@ -50,7 +50,6 @@ RETVAL=0
start() {
KIND="SMB"
echo -n $"Starting $KIND services: "
ulimit -c unlimited
daemon smbd $SMBDOPTIONS
RETVAL=$?
echo