GNOME Bugzilla – Bug 674982
welcome: Use Linux PR_SET_PDEATHSIG to ensure dbus-daemon dies when we do
Last modified: 2012-04-27 22:06:55 UTC
It's convenient for debugging to "kill -9 $(pidof gdm-binary)", but presently because gdm runs bare "dbus-launch" which daemonizes, it won't terminate when the parent gdm welcome session dies. Other approaches here are to use "dbus-daemon --no-fork --print-address" directly as a child, and kill it when we get SIGTERM: http://git.gnome.org/browse/at-spi2-core/tree/bus/at-spi-bus-launcher.c But this is an easy fix, even if it only works on Linux.
Created attachment 212983 [details] [review] welcome: Use Linux PR_SET_PDEATHSIG to ensure dbus-daemon dies when we do
can you just not use -9 ? and stick with SIGTERM ?
Review of attachment 212983 [details] [review]: we do explicitly kill dbus-daemon I think. anyway, no problem with the patch.
Attachment 212983 [details] pushed as c030b9b - welcome: Use Linux PR_SET_PDEATHSIG to ensure dbus-daemon dies when we do