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

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