From owner-freebsd-stable@FreeBSD.ORG Sat Oct 15 19:45: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 30CBA106566C; Sat, 15 Oct 2011 19:45:24 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 838B88FC0C; Sat, 15 Oct 2011 19:45:23 +0000 (UTC) Received: by bkbzu17 with SMTP id zu17so1570613bkb.13 for ; Sat, 15 Oct 2011 12:45:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:x-comment-to:sender:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=H+9WSD9TTYKFkg57/EyjzOrAtKiL8fsHUQu7K0Mqqxc=; b=R0YyLwwrr+cT4Un3zES+OgzI0vHHKRgWUe5STKreGcVpluKc7QmeEVsS5C0UwlADxv 89uaMQwixsWWssQw9zLUINzEJJIRF2J41BIWcTBM0qAQLYwFJo1eLgTDdjZ3TOHdompK Ez5VLi5l6qvc6T1ZVxywDMBNxM1qa2honsWo8= Received: by 10.223.15.147 with SMTP id k19mr12799418faa.26.1318707922447; Sat, 15 Oct 2011 12:45:22 -0700 (PDT) Received: from localhost ([95.69.173.122]) by mx.google.com with ESMTPS id b16sm3381775fao.7.2011.10.15.12.45.19 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 15 Oct 2011 12:45:20 -0700 (PDT) From: Mikolaj Golub To: Stefan Bethke 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> X-Comment-To: Stefan Bethke Sender: Mikolaj Golub Date: Sat, 15 Oct 2011 22:45:18 +0300 In-Reply-To: (Stefan Bethke's message of "Sat, 15 Oct 2011 11:50:22 +0200") Message-ID: <86k486m435.fsf@kopusha.home.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Kostik Belousov , "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 19:45:24 -0000 On Sat, 15 Oct 2011 11:50:22 +0200 Stefan Bethke wrote: SB> Am 15.10.2011 um 09:36 schrieb Mikolaj Golub: >> >> On Fri, 14 Oct 2011 22:50:32 +0200 Stefan Bethke wrote: >> >> 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. >> >> SB> You can easily see this for yourself: >> SB> # portupgrade -a --batch > >> SB> This is on 8-stable from October 5th. >> >> Could you please try the patch I attached to another my mail in this thread to >> see if it helps? SB> Seems to do the trick, thanks! Thanks for testing! Committed. I am going to MFC it soon. -- Mikolaj Golub