From owner-freebsd-questions@freebsd.org Tue Jun 14 19:24:32 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 F135FB724E7 for ; Tue, 14 Jun 2016 19:24:32 +0000 (UTC) (envelope-from list_postfix@bluerosetech.com) Received: from echo.brtsvcs.net (echo.brtsvcs.net [208.111.40.118]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DF10F2881 for ; Tue, 14 Jun 2016 19:24:32 +0000 (UTC) (envelope-from list_postfix@bluerosetech.com) Received: from chombo.houseloki.net (unknown [IPv6:2601:1c2:1402:3a86:21c:c0ff:fe7f:96ee]) by echo.brtsvcs.net (Postfix) with ESMTPS id E05525001D for ; Tue, 14 Jun 2016 19:24:25 +0000 (UTC) Received: from [IPv6:2601:1c2:1402:3a86:a5d9:ec3d:8722:ad2f] (unknown [IPv6:2601:1c2:1402:3a86:a5d9:ec3d:8722:ad2f]) by chombo.houseloki.net (Postfix) with ESMTPSA id 5205B1CEA for ; Tue, 14 Jun 2016 12:24:25 -0700 (PDT) Subject: Re: When your server boots too fast: How to slow it down? To: freebsd-questions@freebsd.org References: <20160611174849.GA2453@box-hlm-03.niklaas.eu> <20160611193225.GB2453@box-hlm-03.niklaas.eu> <20160611200448.GC2453@box-hlm-03.niklaas.eu> From: Mel Pilgrim Message-ID: <90dd080e-f3d2-2d30-d10c-7b68ec0680be@bluerosetech.com> Date: Tue, 14 Jun 2016 12:24:36 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <20160611200448.GC2453@box-hlm-03.niklaas.eu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 14 Jun 2016 19:24:33 -0000 On 2016-06-11 13:04, Niklaas Baudet von Gersdorff wrote: > Niklaas Baudet von Gersdorff [2016-06-11 21:32 +0200] : > >> in rc.conf because the public IPv4 is assigned by the router. >> However, changing it to SYNCDHCP helped only partly. Now, >> tincd starts but both postfix and sshd still fail. > > Additionally to SYNCDHCP, I added the following three lines: > > netwait_enable="YES" > netwait_if="" > netwait_ip="" > > This solves the problem. But this also requires me to predict > the IPv6 that the server gets from the router. In this special > case I know it because my provider will only assign me one in > particular. But maybe there's something like SYNCDHCP for IPv6 > too? Statically configure the interface in rc.conf. You already have it statically configured elsewhere in the system, so save yourself the race condition headache and make it static in rc.conf, too.