From owner-freebsd-questions@freebsd.org Wed Jun 15 05:46:58 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0EAF5B7242D for ; Wed, 15 Jun 2016 05:46:58 +0000 (UTC) (envelope-from stdin@niklaas.eu) Received: from box-hlm-03.niklaas.eu (box-hlm-03.niklaas.eu [IPv6:2a02:2770:15:0:21a:4aff:feaa:e902]) by mx1.freebsd.org (Postfix) with ESMTP id CA19128CD for ; Wed, 15 Jun 2016 05:46:57 +0000 (UTC) (envelope-from stdin@niklaas.eu) Received: by box-hlm-03.niklaas.eu (Postfix, from userid 1001) id 3230C38551A; Wed, 15 Jun 2016 07:46:55 +0200 (CEST) Date: Wed, 15 Jun 2016 07:46:55 +0200 From: Niklaas Baudet von Gersdorff To: freebsd-questions@freebsd.org Subject: Re: When your server boots too fast: How to slow it down? Message-ID: <20160615054655.GA76679@box-hlm-03.niklaas.eu> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rwEMma7ioTxnRzrJ" Content-Disposition: inline In-Reply-To: <90dd080e-f3d2-2d30-d10c-7b68ec0680be@bluerosetech.com> <44a8inh78l.fsf@be-well.ilk.org> User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2016 05:46:58 -0000 --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Lowell Gilbert [2016-06-14 15:59 -0400] : > > Additionally to SYNCDHCP, I added the following three lines: > > > > netwait_enable=3D"YES" > > netwait_if=3D"" > > netwait_ip=3D"" > > > > This solves the problem. But this also requires me to predict > > the IPv6 that the server gets from the router. >=20 > No, it doesn't. You're supposed to put a *remote* address in that > variable, not a local one. I don't know why but I couldn't think about that option at all. That makes totally sense. > Just out of interest, where did you get the idea of doing it this way? Since it had something to do with the boot process I skimmed a bit over /etc/rc.d/* and stumbled upon /etc/rc.d/netwait and read it. Although it says that one should prefer SYNCDHCP (actually it says synchronous_dhclient=3D"YES") at the very beginning, I gave it a shot. Mel Pilgrim [2016-06-14 12:24 -0700] : > Statically configure the interface in rc.conf. You already have it=20 > statically configured elsewhere in the system, so save yourself the race= =20 > condition headache and make it static in rc.conf, too. That's a good point too. Niklaas --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXYOvIAAoJEG2fODeJrIU/fNUQAISriVuNxxVQnQZ7WQswu8Ba 1bEM4e4b1aMfsN6aH7qyKpzsFQd+o97akYrsdYmRzgVTODzjhFAe5pVny2PrnVgm d/VT+ykCbIcLEcjshdsdTqry6RRnyJEtJH7PcF4BwxwBg9qC+Q0SrZEdctXMFxmv v34Yd07YqUZM7N1A/YZE9fl5smWAPMpoPv7k1vaLu2AtKXnpChi6gzYvejVJfJlP 6/RNeWmysAJC8YChcpSp0X4SSodkKZLD894VN8HGo6ufhv4r+elHqBgDir4OYM3X tvPJNeq385W+1xZcz3VlcfxOHHXQ/WSeKjpYC+Yv/vN4WK7syK9GEKjCCF4IHvk+ 3CxbQH9tR3dGAvzJzoqCA3P1LW+dDdrC0mv++dv8nso4Tw1MLO92F69/9ThvcDQM 0ciBiqjxzL1PlneweOa9ydusq4ut7+8GXIzFIWLRKN+MNSR4HpQcJdAFVqcxdUEf A0jTQz6/F50mW6boudCEUaOZOSo4JW/i+kMbkOk2RAT/ZffnrvL7/7xex0P5Q9R6 9ZWEWsNoFJPpAUvM8rDw365/Yersyupo9Au8hnaMrdNYgjkF2PmTgcsBSysFS7dq cbk6fkYtir6ckK3VaqL3rs8h7rGEQ6hohVdX3u+2+SaTr+rES8rVhvjGYiGWElf5 LwVCYBfMJkpCSGw6mzOE =do77 -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ--