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

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