Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jul 2010 13:48:16 +0200
From:      Jilles Tjoelker <jilles@stack.nl>
To:        Sean <sean@gothic.net.au>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: SIGEPIPE after update to 8.1-RC2
Message-ID:  <20100725114816.GA78541@stack.nl>
In-Reply-To: <4C4264F1.4010708@gothic.net.au>
References:  <20100717152455.GA61987@ravenloft.kiev.ua> <4C4264F1.4010708@gothic.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 18, 2010 at 12:20:33PM +1000, Sean wrote:
> I'm getting the same thing; what shell are you using? I changed my shell 
> on one machine from /bin/tcsh to /usr/local/bin/bash and problem 
> disappeared.

That this workaround helps confirms that masked/ignored SIGPIPE is the
problem. From a few shells I have tried, bash and zsh reset SIGPIPE to
caught or default even if it was ignored (only in interactive mode,
however), while tcsh, sh, mksh and ksh93 leave it ignored.

The underlying problem is the program that is passing the ignored/masked
signal to child processes. Please check if the problem occurs with
various ways to log in (text console, ssh, xterm, etc). Things like PAM
modules may also cause problems here.

For example, sshd sets SIGPIPE to ignored, but resets it back to default
before starting a child process, so assuming I read the code correctly
it does not cause problems.

-- 
Jilles Tjoelker



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100725114816.GA78541>