From owner-freebsd-stable@FreeBSD.ORG Sat Oct 15 07:36:11 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 8787410656B8 for ; Sat, 15 Oct 2011 07:36:11 +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 0C0118FC13 for ; Sat, 15 Oct 2011 07:36:10 +0000 (UTC) Received: by bkbzu17 with SMTP id zu17so761118bkb.13 for ; Sat, 15 Oct 2011 00:36:09 -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=bFnUJeiflRith39KiC6mxpATa5Ne6rcQGQ+r0Yk+d6Q=; b=XixPlhVuz7ez21E08UY6ROq16O5u65aUz0CqQZxN+aPrmEhHNg9EMeWpJPcwurpqjF iIVUpf1WVPvd6LhB7LRvhDhM2sNKTV5iMrGSSY+cRm7Vuwg+5jXuA2/qn2I2iTuwPwuh QV9gtRjgtko18CNI27YQIUlshhuZ9Rc/e4qRw= Received: by 10.204.130.85 with SMTP id r21mr8989125bks.38.1318664169822; Sat, 15 Oct 2011 00:36:09 -0700 (PDT) Received: from localhost ([95.69.173.122]) by mx.google.com with ESMTPS id v20sm780098faf.1.2011.10.15.00.36.06 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 15 Oct 2011 00:36:08 -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> X-Comment-To: Stefan Bethke Sender: Mikolaj Golub Date: Sat, 15 Oct 2011 10:36:04 +0300 In-Reply-To: <08C7028B-10E1-4855-B007-D2257216F077@lassitu.de> (Stefan Bethke's message of "Fri, 14 Oct 2011 22:50:32 +0200") Message-ID: <86r52ek8pn.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: "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 07:36:11 -0000 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 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? -- Mikolaj Golub