/usr/bin/script eating 100% cpu with portupgrade and xargs
Mikolaj Golub
trociny at freebsd.org
Sat Oct 15 19:45:24 UTC 2011
On Sat, 15 Oct 2011 11:50:22 +0200 Stefan Bethke wrote:
SB> 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?
SB> Seems to do the trick, thanks!
Thanks for testing! Committed. I am going to MFC it soon.
--
Mikolaj Golub
More information about the freebsd-stable
mailing list