Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 2009 12:29:03 -0600
From:      Brooks Davis <brooks@freebsd.org>
To:        Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de>
Cc:        Garrett Cooper <yanefbsd@gmail.com>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Annoyance with recent parallelism in rc.d
Message-ID:  <20090215182903.GB69320@lor.one-eyed-alien.net>
In-Reply-To: <20090215153531.GA36438@wep4035.physik.uni-wuerzburg.de>
References:  <7d6fde3d0902150028n5f07ee55mc6026e1e4935eeb0@mail.gmail.com> <20090215153531.GA36438@wep4035.physik.uni-wuerzburg.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--BwCQnh7xodEAoBMC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Feb 15, 2009 at 04:35:31PM +0100, Alexey Shuvaev wrote:
> On Sun, Feb 15, 2009 at 12:28:20AM -0800, Garrett Cooper wrote:
> > I just updated my world to a recent snapshot (a build from last week)
> > and I'm noting some parallelism / backgrounding which is really
> > causing issues with my NIC and NFS mounts. I had to hit CTRL-D 5 times
> > in order to get the system to come up because it couldn't resolve my
> > NFS server's hostname, because the NIC wasn't up and going yet (as it
> > uses the DHCP client in background mode due to the new default).
> >=20
> > Now I realize that this all ties back into the issue with the NIC
> > (which I've approached Pyun about, and which I appreciate his help is
> > solving issues with this buggy chipset), but is there really a need
> > for  parallelism at startup rc.d it can't properly detect dependencies
> > with some cases like NFS mounts?
> >=20
> Me too.
> I have ntpd failing to resolve dns names.
> I have noticed this since appr. 1.350 of etc/defaults/rc.conf (12 days ag=
o).
> I was hoping this will go away...
>=20
> Commit log:
> SVN rev 188010 on 2009-02-02 15:38:24Z by mtm
>=20
> Since, rc.d/defaultroute has the ability to wait for a
> default route to show up we can turn this knob back on
> without screwing subsequent daemons that expect to be
> able to talk to the outside world.
>=20
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Seems it is not the case...
> Interesting: setting background_dhclient=3D"NO" does not
> solve the issue. Maybe something else was changed?
> My current 'workaroud' is synchronous_dhclient=3D"YES"

The background flag as actually added locally to maintain compatibility
with the ISC version.  I'd argue it's pointless in the async world and
should be ripped out of the client entirely rather than being enabled by
default.

-- Brooks

--BwCQnh7xodEAoBMC
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iD8DBQFJmF7vXY6L6fI4GtQRAlBuAKC8JZyKBGusSTpSi92zt6slHIQ/AgCgik+7
YkXzp9Jh+6trd3z8A9GVZXM=
=Khmo
-----END PGP SIGNATURE-----

--BwCQnh7xodEAoBMC--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090215182903.GB69320>