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:
parent
aa5760433b
commit
46524b4543
@ -51,7 +51,6 @@ RETVAL=0
|
||||
start() {
|
||||
KIND="SMB"
|
||||
echo -n $"Starting $KIND services: "
|
||||
ulimit -c unlimited
|
||||
daemon smbd $SMBDOPTIONS
|
||||
RETVAL=$?
|
||||
echo
|
||||
|
@ -50,7 +50,6 @@ RETVAL=0
|
||||
start() {
|
||||
KIND="SMB"
|
||||
echo -n $"Starting $KIND services: "
|
||||
ulimit -c unlimited
|
||||
daemon smbd $SMBDOPTIONS
|
||||
RETVAL=$?
|
||||
echo
|
||||
|
Loading…
Reference in New Issue
Block a user