After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 747088 - systemd: change to KillMode=process•
systemd: change to KillMode=process•
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2015-03-31 01:55 UTC by Ray Strode [halfline]
Modified: 2015-04-01 19:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
systemd: change to KillMode=process• (1.89 KB, patch)
2015-03-31 01:55 UTC, Ray Strode [halfline]
committed Details | Review
systemd: change to KillMode=mixed (1.60 KB, patch)
2015-04-01 19:29 UTC, Ray Strode [halfline]
none Details | Review

Description Ray Strode [halfline] 2015-03-31 01:55:21 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.
Comment 1 Ray Strode [halfline] 2015-03-31 01:55:26 UTC
Created attachment 300639 [details] [review]
systemd: change to KillMode=process•
Comment 2 Ray Strode [halfline] 2015-03-31 01:57:42 UTC
Attachment 300639 [details] pushed as cd0a0ba - systemd: change to KillMode=process•
Comment 3 Ray Strode [halfline] 2015-04-01 19:29:11 UTC
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.
Comment 4 Ray Strode [halfline] 2015-04-01 19:29:27 UTC
Attachment 300775 [details] pushed as 7074f2a - systemd: change to KillMode=mixed