GNOME Bugzilla – Bug 747088
systemd: change to KillMode=process•
Last modified: 2015-04-01 19:29:27 UTC
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.
Created attachment 300639 [details] [review] systemd: change to KillMode=process•
Attachment 300639 [details] pushed as cd0a0ba - systemd: change to KillMode=process•
Created attachment 300775 [details] [review] systemd: change to KillMode=mixed This is like the previous commit, but a slightly better choice, because it's more fault tolerant; if GDM fails to kill a child, systemd will help out.
Attachment 300775 [details] pushed as 7074f2a - systemd: change to KillMode=mixed