From owner-freebsd-rc@FreeBSD.ORG Wed Feb 22 17:41:56 2006 Return-Path: X-Original-To: freebsd-rc@freebsd.org Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2948516A420; Wed, 22 Feb 2006 17:41:56 +0000 (GMT) (envelope-from roth@droopy.unibe.ch) Received: from mailhub03.unibe.ch (mailhub03.unibe.ch [130.92.9.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1EC343D75; Wed, 22 Feb 2006 17:41:45 +0000 (GMT) (envelope-from roth@droopy.unibe.ch) Received: from localhost (scanhub02-eth0.unibe.ch [130.92.254.66]) by mailhub03.unibe.ch (Postfix) with ESMTP id D72D72908D; Wed, 22 Feb 2006 18:41:44 +0100 (CET) Received: from mailhub03.unibe.ch ([130.92.9.70]) by localhost (scanhub02.unibe.ch [130.92.254.66]) (amavisd-new, port 10024) with LMTP id 22732-01-89; Wed, 22 Feb 2006 18:41:42 +0100 (CET) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub03.unibe.ch (Postfix) with ESMTP id E5D5928FC8; Wed, 22 Feb 2006 18:41:42 +0100 (CET) Received: from droopy.unibe.ch (droopy [130.92.64.20]) by asterix.unibe.ch (8.12.10+Sun/8.12.10) with ESMTP id k1MHfg8Z016565; Wed, 22 Feb 2006 18:41:42 +0100 (MET) Received: (from roth@localhost) by droopy.unibe.ch (8.12.10+Sun/8.12.9/Submit) id k1MHfgRu018262; Wed, 22 Feb 2006 18:41:42 +0100 (MET) Date: Wed, 22 Feb 2006 18:41:42 +0100 From: Tobias Roth To: Kevin Oberman Message-ID: <20060222174142.GA18232@droopy.unibe.ch> References: <20060221075140.GA9101@droopy.unibe.ch> <20060222170212.BAB0645046@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060222170212.BAB0645046@ptavv.es.net> User-Agent: Mutt/1.4i X-message-flag: Warning! Using Outlook is insecure and promotes virus distribution. Please use a different email client. X-Virus-checked: by University of Berne Cc: freebsd-rc@freebsd.org, current@freebsd.org Subject: Re: dhclient existing when run early in startup 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 2006 17:41:56 -0000 On Wed, Feb 22, 2006 at 09:02:12AM -0800, Kevin Oberman wrote: > I have dhclient almost working on -current. I just added the following 3 > lines before running dhclient: > if ! [ -d "/var/empty" ]; then > mkdir /var/empty > fi > > I don't delete the directory, so it's only created once and just sits > there forever. I'll add that to the next revision. I'm installing and setting up -CURRENT right now so I can continue development there. > Now, the correct profile is selected, but I now hang in dhclient in > netif. This may be impacted by the fact that I am running ISC > dhcp-client because my Prism 2.5 does not play will with the one in > -current. Yeah, in rev 25I adapted profile from the old ISC dhcp to the new OpenBSD dhcp. You might want to revert this if you depend on ISC. > A ^C clears things and the system starts fine with the correct > configuration of the interface. Funny, I had the exact behaviour when trying to run isc-compatible profile with the new dhclient from OpenBSD :-) Oh well, this is getting a bit messy. I'll respond to Bruces mail when I have had time to think things through a bit. For now, I will try to make profile working with 6.0 and 7.0 and keep the existing functionality, while figuring in which direction to go in the future. cheers, Tobias btw, I'm cc'ing freebsd-current@ since you accidentally sent your mail there, so people don't get too confused.