Re: git: 5ead817c3b7a - main - rc: Teach netwait to wait for DAD
- In reply to: Bjoern A. Zeeb: "Re: git: 5ead817c3b7a - main - rc: Teach netwait to wait for DAD"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Oct 2025 18:33:30 UTC
"Bjoern A. Zeeb" <bz@FreeBSD.org> writes: > Dag-Erling Smørgrav <des@FreeBSD.org> writes: > > rc: Teach netwait to wait for DAD > > > > In some configurations, especially in jails, it is possible for the > > system to boot so fast that we end up launching daemons while duplicate > > address detection is still ongoing. If that happens, said daemons may > > fail to bind to IPv6 addresses, as they are still tentative. Teach the > > netwait service to wait (up to 10 seconds, by default) for the tentative > > flag to vanish. > Why 10s? > > You should never have to wait longer than net.inet6.ip6.dad_count + 1 seconds. > > Also the extra variable netwait_dad_timeout really isn't necessary in that case > if you use the sysctl. Thanky you, please see https://reviews.freebsd.org/D52905 DES -- Dag-Erling Smørgrav - des@FreeBSD.org