Date: Thu, 17 Jan 2013 11:07:23 +0900 (JST) From: Hiroki Sato <hrs@FreeBSD.org> To: bz@FreeBSD.org Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r245525 - head/etc/rc.d Message-ID: <20130117.110723.1450987474949438621.hrs@allbsd.org> In-Reply-To: <201301170127.r0H1Re6Y038117@svn.freebsd.org> References: <201301170127.r0H1Re6Y038117@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Thu_Jan_17_11_07_23_2013_045)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Bjoern A. Zeeb" <bz@FreeBSD.org> wrote in <201301170127.r0H1Re6Y038117@svn.freebsd.org>: bz> Author: bz bz> Date: Thu Jan 17 01:27:39 2013 bz> New Revision: 245525 bz> URL: http://svnweb.freebsd.org/changeset/base/245525 bz> bz> Log: bz> Add a conditional sleep 1 in case we add any IPv6 addresses to interfaces. bz> Do this per jail started, not per address. This will allow DAD to complete bz> and services to properly start. Before we have seen problems with services bz> trying to start before the IPv6 address was available to use and thus bz> erroring and failing to start. bz> bz> MFC after: 3 days This may be too pedantic, but I think this delay should use DupAddrDetectTransmits (net.inet6.ip6.dad_count). The default value of RETRANS_TIMER and MAX_RTR_SOLICITATION_DELAY in RFC 4861 is 1 sec, so the theoretical delay value is (DupAddrDetectTransmits * RETRANS_TIMER + MAX_RTR_SOLICITATION_DELAY). The rc.d/netif script uses this value (typically 2 seconds) for DAD. I understand a simple 1 second delay works in practice, though. -- Hiroki ----Security_Multipart(Thu_Jan_17_11_07_23_2013_045)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEABECAAYFAlD3XNsACgkQTyzT2CeTzy1GYQCg1lYMEWM8mGxzRr0SHzhiEJcB F78An1Nwwpymirv3IG6vzpvBczstMBl8 =CG8S -----END PGP SIGNATURE----- ----Security_Multipart(Thu_Jan_17_11_07_23_2013_045)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130117.110723.1450987474949438621.hrs>