GNOME Bugzilla – Bug 630484
GDM should set SIGPIPE handler to default before starting Xsession
Last modified: 2011-02-07 14:52:23 UTC
Created attachment 170998 [details] patch fixing issue Some users have complained that because GDM sets SIGPIPE to ignore that this causes problems when running programs started in the user session. For example, if the user runs "cat file | head -10" the head command completes after processing 10 lines and sends a SIGPIPE to cat to inform it to exit. However, when SIGPIPE is set to ignore, the CPU is wasted while cat completes. I'm attaching a patch that fixes this issue and sets SIGPIPE to SIG_DFL before running the Xsession script. Note this is done after fork() so it doesn't affect the gdm-session-worker process.
This was fixed in build 152.
Sorry, reopening, I got confused.