Blame SOURCES/autofs-5.1.3-set-systemd-KillMode-to-process.patch

304803
autofs-5.1.3 - set systemd KillMode to process
304803
304803
From: Ian Kent <raven@themaw.net>
304803
304803
It's been reported that fuse based filesystem mounts are lost when
304803
restarting autofs.
304803
304803
This behaviour is due to systemd default KillMode being control-group
304803
rather than process.
304803
304803
While changing this from control-group to process might occassionally
304803
not kill some processes that should be killed on shutdown or restart
304803
these processes are much less common and less problematic than processes
304803
managing fuse based mounts.
304803
304803
Signed-off-by: Ian Kent <raven@themaw.net>
304803
---
304803
 CHANGELOG                 |    1 +
304803
 samples/autofs.service.in |    1 +
304803
 2 files changed, 2 insertions(+)
304803
304803
--- autofs-5.0.7.orig/CHANGELOG
304803
+++ autofs-5.0.7/CHANGELOG
304803
@@ -251,6 +251,7 @@
304803
 - limit getgrgid_r() buffer size.
304803
 - add congigure option for limiting getgrgid_r() stack usage.
304803
 - fix unset tsd group name handling.
304803
+- set systemd KillMode to process.
304803
 
304803
 25/07/2012 autofs-5.0.7
304803
 =======================
304803
--- autofs-5.0.7.orig/samples/autofs.service.in
304803
+++ autofs-5.0.7/samples/autofs.service.in
304803
@@ -9,6 +9,7 @@ PIDFile=@@autofspiddir@@/autofs.pid
304803
 EnvironmentFile=-@@autofsconfdir@@/autofs
304803
 ExecStart=@@sbindir@@/automount $OPTIONS --pid-file @@autofspiddir@@/autofs.pid
304803
 ExecReload=/usr/bin/kill -HUP $MAINPID
304803
+KillMode=process
304803
 TimeoutSec=180
304803
 
304803
 [Install]