Date: Thu, 21 Jul 2005 12:45:43 -0700 From: Nate Lawson <nate@root.org> To: Brooks Davis <brooks@one-eyed-alien.net> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: dhclient started twice on recent 7-current? Message-ID: <42DFFB67.4020602@root.org> In-Reply-To: <20050721193617.GD17516@odin.ac.hmc.edu> References: <42DF419C.90203@root.org> <20050721193617.GD17516@odin.ac.hmc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Brooks Davis wrote: > 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. Any way to silence the "already running" error in the script run by devd? -- Nate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42DFFB67.4020602>