From owner-svn-src-head@FreeBSD.ORG Mon Apr 18 18:13:16 2011 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60C5C1065672; Mon, 18 Apr 2011 18:13:16 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.117]) by mx1.freebsd.org (Postfix) with ESMTP id DBC398FC1B; Mon, 18 Apr 2011 18:13:15 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.4/8.14.4) with ESMTP id p3IIDEWk034328; Mon, 18 Apr 2011 22:13:14 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.4/8.14.4/Submit) id p3IIDEJN034327; Mon, 18 Apr 2011 22:13:14 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 18 Apr 2011 22:13:14 +0400 From: Gleb Smirnoff To: Maxim Sobolev Message-ID: <20110418181314.GL16958@FreeBSD.org> References: <201104170605.p3H65cab028890@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <201104170605.p3H65cab028890@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r220736 - head/sbin/natd X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2011 18:13:16 -0000 On Sun, Apr 17, 2011 at 06:05:38AM +0000, Maxim Sobolev wrote: M> Author: sobomax M> Date: Sun Apr 17 06:05:37 2011 M> New Revision: 220736 M> URL: http://svn.freebsd.org/changeset/base/220736 M> M> Log: M> If we can retrieve interface address sleep for one second and try again. M> This can happen during start-up, when natd starts before dhclient has a M> chance to receive IP address from the upstream provider. M> M> MFC after: 2 weeks This looks like a hack and better place for this hack would be shell scripts rather than nat daemon. -- Totus tuus, Glebius.