From 46da93fef90e343f8d961af54bde095396f5289b Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Tue, 10 May 2016 15:08:07 +0530 Subject: [PATCH 5/5] packaging: Set default limit for core file size in service files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change adds the missing LimitCORE variable setting in nmb and winbind service files to have no limit for coredumps by default. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11907 Signed-off-by: Anoop C S Reviewed-by: Jose A. Rivera Reviewed-by: Guenther Deschner Autobuild-User(master): Günther Deschner Autobuild-Date(master): Wed May 18 19:26:49 CEST 2016 on sn-devel-144 (cherry picked from commit f15b23f8358d7b2f60b1df0f81bb93a2c8789af4) --- packaging/systemd/nmb.service | 1 + packaging/systemd/winbind.service | 1 + 2 files changed, 2 insertions(+) diff --git a/packaging/systemd/nmb.service b/packaging/systemd/nmb.service index 3d71a7d..992c0cd 100644 --- a/packaging/systemd/nmb.service +++ b/packaging/systemd/nmb.service @@ -9,6 +9,7 @@ PIDFile=/run/nmbd.pid EnvironmentFile=-/etc/sysconfig/samba ExecStart=/usr/sbin/nmbd $NMBDOPTIONS ExecReload=/usr/bin/kill -HUP $MAINPID +LimitCORE=infinity [Install] WantedBy=multi-user.target diff --git a/packaging/systemd/winbind.service b/packaging/systemd/winbind.service index f711a17..c511488 100644 --- a/packaging/systemd/winbind.service +++ b/packaging/systemd/winbind.service @@ -9,6 +9,7 @@ PIDFile=/run/winbindd.pid EnvironmentFile=-/etc/sysconfig/samba ExecStart=/usr/sbin/winbindd "$WINBINDOPTIONS" ExecReload=/usr/bin/kill -HUP $MAINPID +LimitCORE=infinity [Install] WantedBy=multi-user.target -- 2.5.5