/usr/bin/script eating 100% cpu with portupgrade and xargs

Mikolaj Golub trociny at freebsd.org
Sat Oct 15 07:36:11 UTC 2011

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

More information about the freebsd-stable mailing list