From owner-freebsd-jail@FreeBSD.ORG Mon Mar 12 12:21:05 2012 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F3211065674; Mon, 12 Mar 2012 12:21:05 +0000 (UTC) (envelope-from bz@freebsd.org) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) by mx1.freebsd.org (Postfix) with ESMTP id 458858FC0A; Mon, 12 Mar 2012 12:21:05 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 68DD225D386D; Mon, 12 Mar 2012 12:21:04 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 96FD0BDD3C2; Mon, 12 Mar 2012 12:21:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id 05nTvWuhnXCw; Mon, 12 Mar 2012 12:21:02 +0000 (UTC) Received: from orange-en1.sbone.de (orange-en1.sbone.de [IPv6:fde9:577b:c1a9:31:cabc:c8ff:fecf:e8e3]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 8F1B1BDD3C1; Mon, 12 Mar 2012 12:21:02 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=utf-8 From: "Bjoern A. Zeeb" In-Reply-To: <201203121601.45108.olevole@olevole.ru> Date: Mon, 12 Mar 2012 12:21:01 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <56159FB5-1986-4A8B-B4FB-B4306F44307D@freebsd.org> References: <201203121127.q2CBRWNs093567@freefall.freebsd.org> <201203121601.45108.olevole@olevole.ru> To: Oleg Ginzburg , bug-followup@FreeBSD.org X-Mailer: Apple Mail (2.1084) Cc: freebsd-jail Subject: Re: kern/165769: [rc][jai][ipv6] IPv6 Initialization on external iface is too slow for jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2012 12:21:05 -0000 On 12. Mar 2012, at 12:01 , Oleg Ginzburg wrote: > =D0=97=D0=B4=D1=80=D0=B0=D0=B2=D1=81=D1=82=D0=B2=D1=83=D0=B9=D1=82=D0=B5= , >=20 > On Monday 12 March 2012 15:27:32 bz@freebsd.org wrote: >> This has nothing to do with jails, just with interfaces, possibly >> switch ports and spanning tree. >=20 > /etc/rc.d/netwait the script concerns only in a case "complete"-type = jail, not=20 > for "service"-type as is written in my example I don't see a difference but I see what you mean with "on start" which I = treated as "on boot". The answer unfortunately is - DAD is not supposed to take = that long that it would matter, so the NIC drivers are probably silly or are = required to do silly things. I wonder if you might even see a DOWN/UP cycle. The workaround you can apply is to use the prestart option to the jail = to add that sleep 1 you need and let the startup script configure the IP addresses = for you. See jail_exec_prestart in man 5 rc.conf. /bz --=20 Bjoern A. Zeeb You have to have visions! It does not matter how good you are. It matters what good you do!