[gdm/gnome-3-14] systemd: change to KillMode=process •



commit 22aa5d9d6ceffe4983b7b0ccd2ef193954f13808
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 9090cf4..fbcd7d0 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]