/usr/bin/script eating 100% cpu with portupgrade and xargs
Stefan Bethke
stb at lassitu.de
Sat Oct 15 09:50:24 UTC 2011
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 </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?
Seems to do the trick, thanks!
Stefan
--
Stefan Bethke <stb at lassitu.de> Fon +49 151 14070811
More information about the freebsd-stable
mailing list