[gdm] systemd: change to KillMode=process•
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] systemd: change to KillMode=process•
- Date: Tue, 31 Mar 2015 01:55:43 +0000 (UTC)
commit cd0a0babcfdfee90d08b0c09367b3ff477581d6f
Author: Ray Strode <rstrode redhat com>
Date: Mon Mar 30 21:53:33 2015 -0400
systemd: change to KillMode=process•
By default systemd will kill the entire control-group in one fell
swoop. The problem is, things don't get shutdown in the right
order then, and there's a race where GDM will begin restarting
X servers as soon as they're killed.
This commit tells systemd to just kill the main GDM process, and
let it handle killing all its children on its own.
https://bugzilla.gnome.org/show_bug.cgi?id=747088
data/gdm.service.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/data/gdm.service.in b/data/gdm.service.in
index 454e52e..6608c2c 100644
--- a/data/gdm.service.in
+++ b/data/gdm.service.in
@@ -21,6 +21,7 @@ OnFailure=plymouth-quit.service
[Service]
ExecStart= sbindir@/gdm
+KillMode=process
Restart=always
IgnoreSIGPIPE=no
BusName=org.gnome.DisplayManager
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]