From owner-freebsd-current@FreeBSD.ORG Sun Feb 15 18:30:20 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49AD7106566B for ; Sun, 15 Feb 2009 18:30:20 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id D31C48FC15 for ; Sun, 15 Feb 2009 18:30:19 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.3/8.14.3) with ESMTP id n1FIT4v7088063; Sun, 15 Feb 2009 12:29:04 -0600 (CST) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.3/8.14.3/Submit) id n1FIT4ZJ088062; Sun, 15 Feb 2009 12:29:04 -0600 (CST) (envelope-from brooks) Date: Sun, 15 Feb 2009 12:29:03 -0600 From: Brooks Davis To: Alexey Shuvaev Message-ID: <20090215182903.GB69320@lor.one-eyed-alien.net> References: <7d6fde3d0902150028n5f07ee55mc6026e1e4935eeb0@mail.gmail.com> <20090215153531.GA36438@wep4035.physik.uni-wuerzburg.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BwCQnh7xodEAoBMC" Content-Disposition: inline In-Reply-To: <20090215153531.GA36438@wep4035.physik.uni-wuerzburg.de> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Sun, 15 Feb 2009 12:29:04 -0600 (CST) Cc: Garrett Cooper , FreeBSD Current Subject: Re: Annoyance with recent parallelism in rc.d X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2009 18:30:20 -0000 --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--