From owner-freebsd-rc@FreeBSD.ORG Mon Mar 12 12:30:15 2012 Return-Path: Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 45FB61065672 for ; Mon, 12 Mar 2012 12:30:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 34AD18FC14 for ; Mon, 12 Mar 2012 12:30:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2CCUFnS051945 for ; Mon, 12 Mar 2012 12:30:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2CCUFuk051942; Mon, 12 Mar 2012 12:30:15 GMT (envelope-from gnats) Date: Mon, 12 Mar 2012 12:30:15 GMT Message-Id: <201203121230.q2CCUFuk051942@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org From: "Bjoern A. Zeeb" Cc: Subject: Re: kern/165769: [rc][jai][ipv6] IPv6 Initialization on external iface is too slow for jail X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Bjoern A. Zeeb" List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2012 12:30:15 -0000 The following reply was made to PR kern/165769; it has been noted by GNATS. From: "Bjoern A. Zeeb" To: Oleg Ginzburg , bug-followup@FreeBSD.org Cc: freebsd-jail Subject: Re: kern/165769: [rc][jai][ipv6] IPv6 Initialization on external iface is too slow for jail Date: Mon, 12 Mar 2012 12:21:01 +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!