Re: dhclient started twice on recent 7-current?

From: Brooks Davis <brooks_at_one-eyed-alien.net>
Date: Thu, 21 Jul 2005 12:36:17 -0700
On Wed, Jul 20, 2005 at 11:33:00PM -0700, Nate Lawson wrote:
> When booting, dhclient is started just after "hostname".  However, once 
> devd starts, it tries to start dhclient again which fails with a message 
> saying dhclient is already running.
> 
> Here are the relevant sections from rc.conf:
> removable_interfaces="an0"
> ifconfig_fxp0="DHCP"
> ifconfig_an0="DHCP"
> hostname="mrspecial"
> devd_enable="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

-- 
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

Received on Thu Jul 21 2005 - 17:36:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:39 UTC