summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorAnoop C S <anoopcs@redhat.com>2016-05-10 21:07:01 +0530
committerGünther Deschner <gd@samba.org>2016-05-18 15:50:13 +0200
commitba9ccc6be48e8541748afbf31d5e5dba7d1baf8e (patch)
treeaa4c3709b5512c328a5afd04c7523128523dfb82 /packaging
parent46524b4543acc9d104d85136c0a4a9e006fc099c (diff)
downloadsamba-ba9ccc6be48e8541748afbf31d5e5dba7d1baf8e.tar.gz
packaging: Set default limit for core file size in init scripts
SysV init scripts used for initiating smb and winbind services determines the value for default limit of coredump from variable named DAEMON_COREFILE_LIMIT within a bash env. Therefore this patch explicitly sets this variable to 'unlimited' so as to have no limit for core file size by default. Signed-off-by: Anoop C S <anoopcs@redhat.com> Reviewed-by: Jose A. Rivera <jarrpa@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/RHEL-CTDB/setup/smb.init2
-rw-r--r--packaging/RHEL-CTDB/setup/winbind.init2
-rw-r--r--packaging/RHEL/setup/smb.init2
-rw-r--r--packaging/RHEL/setup/winbind.init2
4 files changed, 8 insertions, 0 deletions
diff --git a/packaging/RHEL-CTDB/setup/smb.init b/packaging/RHEL-CTDB/setup/smb.init
index 4dd5b23ae7b..39bf0a82d1a 100644
--- a/packaging/RHEL-CTDB/setup/smb.init
+++ b/packaging/RHEL-CTDB/setup/smb.init
@@ -18,6 +18,8 @@ else
exit 0
fi
+DAEMON_COREFILE_LIMIT='unlimited'
+
# Avoid using root's TMPDIR
unset TMPDIR
diff --git a/packaging/RHEL-CTDB/setup/winbind.init b/packaging/RHEL-CTDB/setup/winbind.init
index a99038f9c71..2a9dd821ca9 100644
--- a/packaging/RHEL-CTDB/setup/winbind.init
+++ b/packaging/RHEL-CTDB/setup/winbind.init
@@ -16,6 +16,8 @@ else
exit 0
fi
+DAEMON_COREFILE_LIMIT='unlimited'
+
# Avoid using root's TMPDIR
unset TMPDIR
diff --git a/packaging/RHEL/setup/smb.init b/packaging/RHEL/setup/smb.init
index af85b2c079a..96fb74adc3f 100644
--- a/packaging/RHEL/setup/smb.init
+++ b/packaging/RHEL/setup/smb.init
@@ -18,6 +18,8 @@ else
exit 0
fi
+DAEMON_COREFILE_LIMIT='unlimited'
+
# Avoid using root's TMPDIR
unset TMPDIR
diff --git a/packaging/RHEL/setup/winbind.init b/packaging/RHEL/setup/winbind.init
index a99038f9c71..2a9dd821ca9 100644
--- a/packaging/RHEL/setup/winbind.init
+++ b/packaging/RHEL/setup/winbind.init
@@ -16,6 +16,8 @@ else
exit 0
fi
+DAEMON_COREFILE_LIMIT='unlimited'
+
# Avoid using root's TMPDIR
unset TMPDIR