Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Sep 2019 09:55:49 -0700
From:      Pete Wright <pete@nomadlogic.org>
To:        Ben Woods <woodsb02@gmail.com>, Colin Percival <cperciva@tarsnap.com>, freebsd-cloud@freebsd.org
Subject:   Re: Error in EC2 firstboot script: "[: -lt: unexpected operator"
Message-ID:  <43554751-9b74-cef9-50e3-3c98614e7215@nomadlogic.org>
In-Reply-To: <CAOc73CAUNXBbYiemz7TpFdRw14fdrd=aKXiomjKT-xHFW6cZbA@mail.gmail.com>
References:  <CAOc73CDHnmXa-CggP0909AwEc--EVVcZNXN%2BJtLV7jdj7N%2BV1w@mail.gmail.com> <CAOc73CAUNXBbYiemz7TpFdRw14fdrd=aKXiomjKT-xHFW6cZbA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 9/18/19 6:08 AM, Ben Woods wrote:
> On Wed, 18 Sep 2019 at 21:06, Ben Woods <woodsb02@gmail.com> wrote:
>
>> Hi Colin,
>>
>> I just deployed a new FreeBSD 12 instance on AWS (thanks again BTW), and I
>> think I spotted an error in the firstboot script after a freebsd-update.
>>
>> freebsd-update 738 - - Requesting reboot after installing updates.
>> expr: syntax error
>> [: -lt: unexpected operator
>>
>> Do you think this is part of the firstboot script for EC2?

I've been running 12.0-RELEASE ec2 instances for a while and have not 
noticed this.  I spot checked a system that was built way back in May 
and didn't see this issue.  I'll try to spin up an instance later today 
in my env and see if I can reproduce.

-p

-- 
Pete Wright
pete@nomadlogic.org
@nomadlogicLA




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43554751-9b74-cef9-50e3-3c98614e7215>