Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Oct 2011 11:50:22 +0200
From:      Stefan Bethke <stb@lassitu.de>
To:        Mikolaj Golub <trociny@FreeBSD.org>
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:  <CF944885-8030-4585-B1D8-313C4CCEEB6B@lassitu.de>
In-Reply-To: <86r52ek8pn.fsf@kopusha.home.net>
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> <86r52ek8pn.fsf@kopusha.home.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 </dev/null
>=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 <stb@lassitu.de>   Fon +49 151 14070811






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CF944885-8030-4585-B1D8-313C4CCEEB6B>