On Mon, 20.04.15 08:54, Daniel Drake (dr...@endlessm.com) wrote: > gdm git does have KillMode=mixed, but the slightly old gdm I'm running > here also does not have any KillMode assignment.
KillMode=mixed means that systemd will SIGKILL all cgroup member processes before "stop" returns. > > I'm investigating further at the moment. I've found a mistake in what > I wrote earlier - when gdm receives SIGTERM it *does* do a > kill/waitpid() on the child X server. > However the process seems to disappear before waitpid() returns - > currently trying to understand why. Ideas welcome. maybe the main gdm process is not the one waiting, but a worker process is, and the main process kills the worker process without the worker process handling that nicely? Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel