Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jun 2005 09:42:27 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: dhclient less functional with nanobsd because of NO_CXX
Message-ID:  <20050627164227.GA16732@odin.ac.hmc.edu>
In-Reply-To: <20050619012425.L56734@fledge.watson.org>
References:  <20050619012425.L56734@fledge.watson.org>

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

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

On Sun, Jun 19, 2005 at 01:27:58AM +0100, Robert Watson wrote:
>=20
> Observation on dependencies between components and nanobsd:
>=20
> In the old world order, dhclient backgrounded and waited for the link=20
> state to come up.  In the new world order, dhclient exits if the link=20
> state is down, relying on devd to restart it.  devd isn't build if NO_CXX=
=20
> is set, as it's written in C++, and NO_CXX is a useful (and default) thin=
g=20
> to set for nanobsd for obvious reasons.  It sounds like something here is=
=20
> an argument for:
>=20
> - Allowing C++ to be built as a build dependency, but not installed.
> - Rewriting devd to not be in C++.
> - Providing an option so that dhclient's old and useful behavior can be
>   restored.
>=20
> Glancing at the dhclient man page didn't suggest an obvious command line=
=20
> flag for "don't exit on no link state"...

As a workaround of sorts, you could install the ifstated port.  Fixing
the build to build g++ and not install it is probalby best.

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFCwCxzXY6L6fI4GtQRAgf1AJ90U+NUUW6MjMxV//k0qDQMP2XprwCg3UJ4
X1AqZcHk37nA97zCi0U2tU8=
=tPjc
-----END PGP SIGNATURE-----

--MGYHOYXEY6WxJCY8--



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