Date: Mon, 14 Mar 2016 08:04:48 -0600 From: Ian Lepore <ian@freebsd.org> To: John Marshall <john.marshall@riverwillow.com.au>, freebsd-stable@FreeBSD.org Subject: Re: releng/10.3 rc netwait disabled by ipfw dependency Message-ID: <1457964288.9986.3.camel@freebsd.org> In-Reply-To: <20160312054618.GA6373@rwpc16.gfn.riverwillow.net.au> References: <20160312054618.GA6373@rwpc16.gfn.riverwillow.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2016-03-12 at 16:46 +1100, John Marshall wrote:
> I recently upgraded a server from 10.2-RELEASE to 10.3-RC2. The
> server
> has ipfw configured and also has netwait enabled in rc.conf. All was
> good in 10.2-RELEASE.
>
> Now, rc pauses during netwait for the full ${netwait_timeout} failing
> to
> ping ${netwait_ip}, prints a WARNING about the network likely not
> being
> properly up, then proceeds to enable the firewall and start other
> components with varying degrees of success (now that the interfaces
> can
> pass packets and has started configuring itself - think IPv6 SLAAC).
> The netwait rc script used to "REQUIRE: NETWORKING", until r294680
> when
> (among other things) this happened...
>
> # PROVIDE: netwait
> -# REQUIRE: NETWORKING
> +# REQUIRE: devd routing
> # KEYWORD: nojail
>
> Adding ipfw to the netwait REQUIRE list makes things work for me (see
> Bug 207916) but I am sure there is more that ought to be taken into
> account and perhaps the dependency ought to be resolved in a
> different
> way.
>
Just a quick followup for the archives, this was turned into PR 207916
and a workaround was committed as r296807. A better fix, I think,
would be to separate waiting for the network interfaces to appear from
waiting for network connectivity to be functional (ping test), but I
ran into some circular-dependency problems, so I committed a "good
enough for now" workaround.
-- Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1457964288.9986.3.camel>
