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

Yves-Alexis Perez corsac at debian.org
Fri May 6 10:31:50 UTC 2016


control: severity -1 important

On jeu., 2016-05-05 at 00:31 +0100, Ian Jackson wrote:
> All Unix programs are entitled to assume that they start with
> reasonable signal dispositions, which (with a few exceptions) means
> everything set to SIG_DFL.

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 have marked this bug "serious" on the
> grounds that I think this is a release-critical bug.

I disagree here too.

> In an xterm:
> 
> zealot:~> perl -e 'print $SIG{PIPE},"\n"'
> IGNORE
> zealot:~>

Well, in my session (Xfce) signal dispositions are reset anyway, so SIGPIPE is
not ignored.

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.

Regards,
-- 
Yves-Alexis

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20160506/c2fb2ae9/attachment.sig>


More information about the Pkg-xfce-devel mailing list