From owner-freebsd-rc@FreeBSD.ORG Wed Feb 22 19:39:01 2012 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68762106564A for ; Wed, 22 Feb 2012 19:39:01 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from qmta13.emeryville.ca.mail.comcast.net (qmta13.emeryville.ca.mail.comcast.net [76.96.27.243]) by mx1.freebsd.org (Postfix) with ESMTP id 4F06E8FC08 for ; Wed, 22 Feb 2012 19:39:01 +0000 (UTC) Received: from omta23.emeryville.ca.mail.comcast.net ([76.96.30.90]) by qmta13.emeryville.ca.mail.comcast.net with comcast id d72T1i00B1wfjNsAD7RrGB; Wed, 22 Feb 2012 19:25:51 +0000 Received: from damnhippie.dyndns.org ([24.8.232.202]) by omta23.emeryville.ca.mail.comcast.net with comcast id d7Rq1i00T4NgCEG8j7Rq1d; Wed, 22 Feb 2012 19:25:51 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q1MJPmij005117; Wed, 22 Feb 2012 12:25:48 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) From: Ian Lepore To: Warren Block In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" Date: Wed, 22 Feb 2012 12:25:48 -0700 Message-ID: <1329938748.21804.8.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-rc@freebsd.org Subject: Re: dhclient SYNCDHCP messiness X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2012 19:39:01 -0000 On Wed, 2012-02-22 at 11:40 -0700, Warren Block wrote: > In /etc/rc.conf: > > ifconfig_em0="SYNCDHCP" > > dhclient runs on startup, then later tries to run again: > > Starting dhclient. > em0: no link ... > . > . > got link > (...) > Starting Network: lo0 em0. > (...) > Starting devd. > Starting ums0 moused > . > dhclient already running? (pid=344). > Creating and/or trimming log files > > So is this from /etc/network.subr starting dhclient because the > interface is set to DHCP, then /etc/rc.d/dhclient running directly > later? > > This is with > > FreeBSD lightning 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Tue Feb 21 22:25:30 MST 2012 > root@lightning:/usr/obj/usr/src/sys/LIGHTNING i386 > _______________________________________________ > freebsd-rc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-rc > To unsubscribe, send any mail to "freebsd-rc-unsubscribe@freebsd.org" >From the sequence of things there it looks like the second invocation may be from a devd rule, but I thought all the standard rules used "dhclient quietstart" and that one of the effects of that was to supress the "already running" warning. I updated a couple systems to 8.3-{PRERELEASE,BETA1} over the past few days and I haven't seen such a glitch. I don't think it should make a difference, but I use synchronous_dhclient=YES and ifconfig_foo=DHCP -- Ian