Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Oct 2011 10:36:04 +0300
From:      Mikolaj Golub <trociny@freebsd.org>
To:        Stefan Bethke <stb@lassitu.de>
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>, Jilles Tjoelker <jilles@stack.nl>
Subject:   Re: /usr/bin/script eating 100% cpu with portupgrade and xargs
Message-ID:  <86r52ek8pn.fsf@kopusha.home.net>
In-Reply-To: <08C7028B-10E1-4855-B007-D2257216F077@lassitu.de> (Stefan Bethke's message of "Fri, 14 Oct 2011 22:50:32 %2B0200")
References:  <op.v1y8gdtf8527sy@pinky> <20110918045413.GA63773@DataIX.net> <20110918053901.GA31617@icarus.home.lan> <op.v1zrszht8527sy@pinky> <86d3eydsmf.fsf@kopusha.home.net> <CAOnPXZ9z2MoZ7uxyUQzBx3Lz1mhY-2JKxO0mepzMp81J4WEVtw@mail.gmail.com> <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>

next in thread | previous in thread | raw e-mail | index | archive | help

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 </dev/null

 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?

-- 
Mikolaj Golub



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86r52ek8pn.fsf>