From owner-freebsd-stable@FreeBSD.ORG Sat Oct 15 09:50:24 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A3BF1065672; Sat, 15 Oct 2011 09:50:24 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2001:470:1f0b:105e::1ea]) by mx1.freebsd.org (Postfix) with ESMTP id 29E7D8FC0C; Sat, 15 Oct 2011 09:50:24 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 018A3CE37D; Sat, 15 Oct 2011 11:50:22 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: Stefan Bethke In-Reply-To: <86r52ek8pn.fsf@kopusha.home.net> Date: Sat, 15 Oct 2011 11:50:22 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20110918045413.GA63773@DataIX.net> <20110918053901.GA31617@icarus.home.lan> <86d3eydsmf.fsf@kopusha.home.net> <20111008002707.GA76128@swelter.hanley.stade.co.uk> <20111012222535.GB79291@swelter.hanley.stade.co.uk> <20111014120336.GB31718@stack.nl> <08C7028B-10E1-4855-B007-D2257216F077@lassitu.de> <86r52ek8pn.fsf@kopusha.home.net> To: Mikolaj Golub X-Mailer: Apple Mail (2.1251.1) Cc: "freebsd-stable@freebsd.org" , Jilles Tjoelker Subject: Re: /usr/bin/script eating 100% cpu with portupgrade and xargs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Oct 2011 09:50:24 -0000 Am 15.10.2011 um 09:36 schrieb Mikolaj Golub: >=20 > On Fri, 14 Oct 2011 22:50:32 +0200 Stefan Bethke wrote: >=20 > SB> I finally figured out why my ports aren't updating anymore: when = running portupgrade -a --batch from cron, stdin is /dev/null, and that = produces the gobs of ^D in the output, as well as the script file that = portupgrade creates. What's worse is that the upgrade never completes. >=20 > SB> You can easily see this for yourself: > SB> # portupgrade -a --batch =20 > SB> This is on 8-stable from October 5th. >=20 > Could you please try the patch I attached to another my mail in this = thread to > see if it helps? Seems to do the trick, thanks! Stefan --=20 Stefan Bethke Fon +49 151 14070811