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

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