GNOME Bugzilla – Bug 607738
Should kill gnome-session rather than gnome-session process group when log in
Last modified: 2010-03-09 00:19:28 UTC
With fix for bug #607658, gnome-session is able to cleanup when receiving SIGTERM. However, GDM kills gnome-session and its children at log in time. gdm_welcome_session_stop() [...] res = gdm_signal_pid (-1 * welcome_session->priv->pid, SIGTERM); [...] This will cause gnome-session's children quits before cleanup finish. So we should kill gnome-session only rather than its process group.
Created attachment 151990 [details] [review] Do not kill gnome-session process group when login.
Note that for this to work properly, gnome-session also needs to be modified to clean up its children on exit. So I believe this fix depends on bug #607658, and that this fix should not go into GDM until that fix is accepted into gnome-session. Isn't that correct, Halton?
Brian, you're right the gnome-session should block this gdm bug. I'll change that. Note, Vicent has already accept the gnome-session patch.
Patch for gnome-session bug #607658 is approved, not committed yet. Vincent want to make sure this patch make sense for GDM. Brian and Ray, what's your opinion?
Yes, makes sense to me.
Looks good to me also. Vincent, can we get the change for gnome-session into 2.30? If so, let us know so we can coordinate making the change to GDM at the same time.
Worked with Vincent to get the fix into gnome-session for the 2.29.92 release, so this was fixed in GDM 2.29.92 as well. Marking as fixed.