From owner-freebsd-rc@FreeBSD.ORG Thu Feb 23 00:23:22 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 5CB5A106566B for ; Thu, 23 Feb 2012 00:23:22 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 1B1728FC12 for ; Thu, 23 Feb 2012 00:23:21 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q1N0NJBa081037; Wed, 22 Feb 2012 17:23:19 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q1N0NJqb081034; Wed, 22 Feb 2012 17:23:19 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 22 Feb 2012 17:23:19 -0700 (MST) From: Warren Block To: Ian Lepore In-Reply-To: <1329949733.1063.6.camel@revolution.hippie.lan> Message-ID: References: <1329938748.21804.8.camel@revolution.hippie.lan> <1329949733.1063.6.camel@revolution.hippie.lan> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Wed, 22 Feb 2012 17:23:19 -0700 (MST) 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: Thu, 23 Feb 2012 00:23:22 -0000 On Wed, 22 Feb 2012, Ian Lepore wrote: > First, let me correct myself: I *am* seeing exactly this glitch, I just > hadn't noticed it until a few minutes ago when I rebooted and looked > much more closely. > > Devd sees the link-up event because it sees all the events that happened > before it started (for some definition of "all"; there's probably some > reasonable list-length or buffer size limit somewhere). I rebooted to > test my vague memory on this... boot into single-user mode and manually > run /sbin/devd -D and you'll see it processing the buffered events > before daemonizing. For some reason I had to mount / writeable before > running devd in single-user or it failed. > > I now suspect (but haven't tested to confirm) that this message may be a > side effect of r226345 which replaced some one-off pidfile logic in > rc.d/dhclient with use of the standard rc_pid scheme, which is what is > doing the whining. I think the old one-off code to deal with the > pidfile avoided whining in the 'quietstart' case. Has r226345 been MFCed to 8-stable? I only see it in head.