From owner-freebsd-stable Sun Feb 11 6:27:57 2001 Delivered-To: freebsd-stable@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 7274B37B4EC for ; Sun, 11 Feb 2001 06:27:53 -0800 (PST) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id GAA12224; Sun, 11 Feb 2001 06:26:46 -0800 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda12222; Sun Feb 11 06:26:32 2001 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.11.2/8.9.1) id f1BEQRG77572; Sun, 11 Feb 2001 06:26:27 -0800 (PST) Received: from cwsys9.cwsent.com(10.2.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdZ77570; Sun Feb 11 06:26:03 2001 Received: (from uucp@localhost) by cwsys.cwsent.com (8.11.2/8.9.1) id f1BEQ3K98277; Sun, 11 Feb 2001 06:26:03 -0800 (PST) Message-Id: <200102111426.f1BEQ3K98277@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdl98271; Sun Feb 11 06:25:45 2001 X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-Sender: schubert To: Kent Stewart Cc: Blaz Zupan , Matt Dillon , Andrew.Hodgkins@hurlburt.af.mil, freebsd-stable@FreeBSD.ORG Subject: Re: Proposed makewhatis perl script fix In-reply-to: Your message of "Sat, 10 Feb 2001 23:59:49 PST." <3A864675.3A752582@urx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 11 Feb 2001 06:25:44 -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <3A864675.3A752582@urx.com>, Kent Stewart writes: > > > Blaz Zupan wrote: > > > > > :Actually, I don't think it fixed everything. There have been ports > > > :that also had problems with piping to tar and broken pipes. It > > > :wouldn't surprise me if the makewhatis problem was only a little piece > > > :of what is broken. > > > : > > > :Kent > > > > > > makewhatis is just makewhatis... it has nothing to do with tar. > > > > > > When you tar something up, tar writes full blocks. But when you unta > r > > > something the actual end of the archive may occur in the middle of a > > > block. tar will close the input descriptor 'early' in this case, > > > potentially before gunzip or uncompress manage to write the last bloc > k > > > of zeros. > > > > I also don't believe that this is the real fix - there is something fishy > > going on in stable. I just upgraded all of our servers from 4.2-RELEASE to > > 4.2-STABLE and I see the following messages upon installing *any* package: > > > > /home/blaz# pkg_add gmake-3.79.1.tgz > > > > gzip: stdout: Broken pipe > > tar: child returned status 1 > /home/blaz# > > > > The package actually appears to install and work fine. I also noticed simil > ar > > messages from gzip during "make" on a port, but again the port built and > > installed fine after that. > > > > So no, your makewhatis patch only appears to be a bandaid, but there is > > something going on deeper (possibly in the kernel) that was not there in > > 4.2-RELEASE. > > Were you using ssh to login on to the computers when you were doing the > package/port work? That seems to be the common thread from my end. At > least, the broken pipes didn't start occuring until the version of > Openssh was updated. If I telnet and do my work no problem; however, if > I use ssh, then I see broken pipes. Could it be some interaction between -STABLE and OpenSSH 2.3.0? I installed OpenSSH 2.3.0 on some 4.2-RELEASE systems, including the src/secure bits, and have had no broken pipes problems when using ssh. Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/Alpha Team Internet: Cy.Schubert@osg.gov.bc.ca Open Systems Group, ITSD, ISTA Province of BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message