[Pkg-xfce-devel] Bug#823460: Bug#823460: lightdm: SIGPIPE ignored in session

Ian Jackson ijackson at chiark.greenend.org.uk
Fri May 6 14:40:48 UTC 2016


Yves-Alexis Perez writes ("Re: [Pkg-xfce-devel] Bug#823460: lightdm: SIGPIPE ignored in session"):
> control: severity -1 important
...
> That's very much false in my opinion and experience. A program definitely
> *doesn't* know the signal dispositions it starts with, so if it *needs*
> something specific, it'd better do it itself. It might be basic courtesy not
> to mess up with signals for your children, but they definitely can't have any
> expectation.

I think it makes more sense for me to argue about this with whoever
turns out to be maintainer for the responsible code...

> > zealot:~> perl -e 'print $SIG{PIPE},"\n"'
> > IGNORE
> > zealot:~>
> 
> Well, in my session (Xfce) signal dispositions are reset anyway, so
> SIGPIPE is not ignored.

I think this is because xfce4-terminal sets SIGPIPE to IGN for its own
use, and then resets it when it runs its child, masking the problem.

> Also note that lightdm by itself doesn't setup the signal
> dispositions so it's likely to happen somewhere in the underlying
> libs. Any help finding where would be appreciated.

I have a plan for how to track this down further.  I will get back to
you.

Ian.



More information about the Pkg-xfce-devel mailing list