Date: Thu, 21 Jul 2005 12:36:17 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Nate Lawson <nate@root.org> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: dhclient started twice on recent 7-current? Message-ID: <20050721193617.GD17516@odin.ac.hmc.edu> In-Reply-To: <42DF419C.90203@root.org> References: <42DF419C.90203@root.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--q9KOos5vDmpwPx9o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 20, 2005 at 11:33:00PM -0700, Nate Lawson wrote: > When booting, dhclient is started just after "hostname". However, once= =20 > devd starts, it tries to start dhclient again which fails with a message= =20 > saying dhclient is already running. >=20 > Here are the relevant sections from rc.conf: > removable_interfaces=3D"an0" > ifconfig_fxp0=3D"DHCP" > ifconfig_an0=3D"DHCP" > hostname=3D"mrspecial" > devd_enable=3D"YES" That's more or less by design. Dhclient needs to start when the link comes up in order to work since it dies when the link goes down. It also needs to start at startup because too many applications (sendmail being the classic culprit) depend having an IP address configured. -- 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 --q9KOos5vDmpwPx9o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFC3/kvXY6L6fI4GtQRArQdAKDgNG+twpkjh24Yh/AvReCKZRq6qQCffCZP 4652/fBF3E323nnri1FrqXo= =BSzE -----END PGP SIGNATURE----- --q9KOos5vDmpwPx9o--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050721193617.GD17516>