From owner-freebsd-stable Sat Mar 3 21:47:36 2001 Delivered-To: freebsd-stable@freebsd.org Received: from gatekeeper.tsc.tdk.com (gatekeeper.tsc.tdk.com [207.113.159.21]) by hub.freebsd.org (Postfix) with ESMTP id 90A0A37B718 for ; Sat, 3 Mar 2001 21:47:30 -0800 (PST) (envelope-from gdonl@tsc.tdk.com) Received: from imap.gv.tsc.tdk.com (imap.gv.tsc.tdk.com [192.168.241.198]) by gatekeeper.tsc.tdk.com (8.8.8/8.8.8) with ESMTP id VAA02393; Sat, 3 Mar 2001 21:46:28 -0800 (PST) (envelope-from gdonl@tsc.tdk.com) Received: from salsa.gv.tsc.tdk.com (salsa.gv.tsc.tdk.com [192.168.241.194]) by imap.gv.tsc.tdk.com (8.9.3/8.9.3) with ESMTP id VAA59318; Sat, 3 Mar 2001 21:46:27 -0800 (PST) (envelope-from Don.Lewis@tsc.tdk.com) Received: (from gdonl@localhost) by salsa.gv.tsc.tdk.com (8.8.5/8.8.5) id VAA26015; Sat, 3 Mar 2001 21:46:27 -0800 (PST) From: Don Lewis Message-Id: <200103040546.VAA26015@salsa.gv.tsc.tdk.com> Date: Sat, 3 Mar 2001 21:46:27 -0800 In-Reply-To: <15009.54323.305781.921418@nomad.yogotech.com> References: <15009.52817.869675.390701@nomad.yogotech.com> <200103040531.f245Vuc04583@cwsys.cwsent.com> <15009.54323.305781.921418@nomad.yogotech.com> X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: nate@yogotech.com (Nate Williams), Cy Schubert - ITSD Open Systems Group Subject: Re: more strange problem with broken pipes and ssh Cc: Mike Tancsa , Don Lewis , stable@FreeBSD.ORG Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mar 3, 10:35pm, Nate Williams wrote: } Subject: Re: more strange problem with broken pipes and ssh } [ SIGPIPE errors ] } } > I don't think it's the shell. To verify my results try changing your } > login shells (e.g. vipw, log out, log in, test, vipw, log out, ...) } > just like I did. All this guessing will get us nowhere until more } > actual testing is done. } > } > Could it be an sshd config option? That would be my next guess. } It appears that Don Lewis already found and fixed it. The bug is well } known, and has been discussed to death in the past. I and others are } testing out Don's fix right now, and should be able to have more } conclusive evidence in the next few days... Yeah, the bug is that sshd is invoking the shell with SIGPIPE set to SIG_IGN instead of SIG_DFL, but the mystery is why not everyone sees the problem. It appears that at least some versions of bash work around the problem, and most people see the problem with /bin/sh, /bin/csh, and /bin/tcsh. For some reason, Cy never sees the problem no matter what shell he uses ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message