From owner-freebsd-cloud@freebsd.org Wed Sep 18 13:06:23 2019 Return-Path: Delivered-To: freebsd-cloud@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C8F56FD246 for ; Wed, 18 Sep 2019 13:06:23 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-vs1-xe2c.google.com (mail-vs1-xe2c.google.com [IPv6:2607:f8b0:4864:20::e2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46YKxB59Kfz4JMw for ; Wed, 18 Sep 2019 13:06:22 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-vs1-xe2c.google.com with SMTP id m22so4378504vsl.9 for ; Wed, 18 Sep 2019 06:06:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=KjmgCyBbbsK/w1421EB102nQVif3fPSnsXqFe3ADW7E=; b=lP5VWfT5jphTMsTnudG0Flm6VpcznmZpG/uFB7y8cKnP2/ulYyOrR2CU0eVVDPPjm+ 3aAIAOkWlkJd4vnn/Z6yLZ7aCekudOIgj8ce/D6PctVa0LoVkkRJj7xHVCsozloovX5l dRLFRWHGt40FZWulko+HGZyCI6j2g9JeFijc/Zq/oTjuOqc/QfI+nN1JIsOQj/vbPH88 XSisvt3lDjeltd4lNUwW6z/ti4xLiLgBTxuiSq9uwtmjuU+luZgm49/PSiww87rv+DCJ zO7KumjdQNxPfRSbvlIBCZkjSjHgnlZuYXhZ2zAogEywFwB8JZe/5lK75o8YMHT0Prj3 yoXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=KjmgCyBbbsK/w1421EB102nQVif3fPSnsXqFe3ADW7E=; b=rdRWIBxR0g7N99EGfbiq34epfeAy3upIzW9edwIS9YTAvzUzHG6t2rtyDgrrEcDzzp D1eaSeod3+FoRtAPm2UgsYVVRZs44hhB/BD8Ec/jYP/Xp/zkmd5EXGHZk0bBSzPOvRJJ jNbJ37LStX3p5Gm3ZpaX6HBJK5U4aBIyYQCN74uew4FIWKt3IJMGINTE8KMPkKldSLFf Ki22sEq5uME5u6EWW5yeCKUMSkuiG/Qnj8UMwhyQv8/BpLoeShm/uwvvbPHTEkz0z/JK pFFgCErrGPRuyB7AJVEpU1dGMQo/glUXRLra/XKq5N0yF7LOdwB4MkgjkUbVW7XZAwH5 /leQ== X-Gm-Message-State: APjAAAV8Gbpztf/ao1rQncqpGD8B8wVzQxiDERYRw13DpqQGGHdpNAtw rIu3g0N4DtDkGVsRn9VL6cgq0TvODugPrI2XZ6M= X-Google-Smtp-Source: APXvYqzXTI0GcZ3qUvFU0iyULS26G9qxgelht+BO849LfIDGduQ1/RZMXoz/5T6vL70rIaSMtv5wRHCOOYuVtSeHXZo= X-Received: by 2002:a67:6b85:: with SMTP id g127mr1316927vsc.53.1568811978821; Wed, 18 Sep 2019 06:06:18 -0700 (PDT) MIME-Version: 1.0 From: Ben Woods Date: Wed, 18 Sep 2019 21:06:29 +0800 Message-ID: Subject: Error in EC2 firstboot script: "[: -lt: unexpected operator" To: Colin Percival , freebsd-cloud@freebsd.org X-Rspamd-Queue-Id: 46YKxB59Kfz4JMw X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=lP5VWfT5; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of woodsb02@gmail.com designates 2607:f8b0:4864:20::e2c as permitted sender) smtp.mailfrom=woodsb02@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-cloud@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[c.2.e.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(0.00)[ip: (-9.68), ipnet: 2607:f8b0::/32(-2.68), asn: 15169(-2.23), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-cloud@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "FreeBSD on cloud platforms \(EC2, GCE, Azure, etc.\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Sep 2019 13:06:23 -0000 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? Regards, Ben -- From: Benjamin Woods woodsb02@gmail.com