errors while rescanPorts after upgrading to 3.4

Joe Marcus Clarke marcus at marcuscom.com
Sun Nov 13 10:03:00 EST 2011


On 11/13/11 6:21 AM, Dmitry Morozovsky wrote:
> On Fri, 11 Nov 2011, Joe Marcus Clarke wrote:
>
>>> I'd upgraded tb 3.3 to 3.4 some few weeks ago. Intermediate tinderbuilds
>>> seem
>>> to work normally; however, going now to cleanup, I'm experienced the
>>> following
>>> errors with 'tc rescanPorts -a' (portstree is a subset, but whould be
>>> consistent):
>>
>> Grrr...this is a bug.  I don't think it's critical, though.  I'll get a fix
>> out this weekend.
>
> thank you.
>
> BTW, there i a little glitch leading to
>
> [: -eq: unexpected operator
>
> error.  Running tc through sh -x I found it's around tinderLoc function:
>
> + tinderLoc jail 8-amd64
> + type=jail
> + what=8-amd64
> + echo /usr/local/tb/jails/8-amd64
> + _dstloc=/usr/local/tb/jails/8-amd64/src
> + [ -n /usr/local/tb/jails/8-amd64/src ]
> + df
> + awk '$NF == mtpt { print $NF }' mtpt=/usr/local/tb/jails/8-amd64/src
> + mtpt=''
> + [ -n '' ]
> + return 0
> + [ -n '' ]
> + [ -eq 1 ]
> [: -eq: unexpected operator
>
>

But it's not in tinderLoc as tinderLoc returns.  A lot of things call 
tinderLoc.  What is the full trace?

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc


More information about the tinderbox-list mailing list