From: Anoop C S Date: Tue, 10 May 2016 09:38:07 +0000 (+0530) Subject: packaging: Set default limit for core file size in service files X-Git-Tag: samba-4.3.10~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40f1addbd04f92098c7438f0a290141248bf18bf;p=thirdparty%2Fsamba.git packaging: Set default limit for core file size in service files 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) --- diff --git a/packaging/systemd/nmb.service b/packaging/systemd/nmb.service index 3d71a7dacd2..992c0cd9d2b 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 f711a17f040..c511488166e 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