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 621661 - Make slaves more robust against crashes
Make slaves more robust against crashes
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-15 15:45 UTC by William Jon McCann
Modified: 2010-06-15 19:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description William Jon McCann 2010-06-15 15:45:01 UTC
When a slave crashes for whatever reason we get a backtrace in the log but often we don't kill the greeter associated with it or the helper processes.  In addition to that we don't try to switch the active session to ensure the user doesn't get left at a dead end.

Not killing the workers may leave PAM login devices such as smartcards in an unusable state for the next login attempt.


On IRC, Ray suggests using the following on Linux:
 prctl(PR_SET_PDEATHSIG,unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5);
Comment 1 William Jon McCann 2010-06-15 19:39:46 UTC
commit 712cd8d8faa05151f979ac3baf53868bae78c7f8
Author: William Jon McCann <jmccann@redhat.com>
Date:   Tue Jun 15 12:00:25 2010 -0400

    Terminate subprocesses after the slave dies
    
    This will help prevent leaving the system in an inconsistent state.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=621661


pushed to master and 2-30