From owner-freebsd-questions@FreeBSD.ORG Mon Jul 27 22:05:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0941B1065698 for ; Mon, 27 Jul 2009 22:05:48 +0000 (UTC) (envelope-from psteele@webmail.maxiscale.com) Received: from k2smtpout02-01.prod.mesa1.secureserver.net (k2smtpout02-01.prod.mesa1.secureserver.net [64.202.189.90]) by mx1.freebsd.org (Postfix) with SMTP id D74BC8FC16 for ; Mon, 27 Jul 2009 22:05:47 +0000 (UTC) (envelope-from psteele@webmail.maxiscale.com) Received: (qmail 4868 invoked from network); 27 Jul 2009 22:02:25 -0000 Received: from unknown (HELO owa.webmail.maxiscale.com) (72.167.52.135) by k2smtpout02-01.prod.mesa1.secureserver.net (64.202.189.90) with ESMTP; 27 Jul 2009 22:02:24 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 27 Jul 2009 15:07:24 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: What order are options in rc.conf processed? Thread-Index: AcoPBAuR8AOLFX9PSxCXNhDc9wsUjAAAAJhQ References: <20090727214341.GJ34795@eggman.experts-exchange.com> From: "Peter Steele" To: "Jason" Cc: freebsd-questions@freebsd.org Subject: RE: What order are options in rc.conf processed? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2009 22:05:48 -0000 Well, if I understand what you mean, then yes, our app requires networking. But it has two logic paths: If it sees the system has an IP assigned it goes into one mode and if it does not have an IP assigned it goes into another mode. In the case we've encountered the app takes the "no IP assigned" path, even though we have an IP defined in rc.conf. We're trying to understand how this could happen and are wondering how the options in rc.conf are processed. -----Original Message----- From: Jason [mailto:jhelfman@e-e.com]=20 Sent: Monday, July 27, 2009 2:44 PM To: Peter Steele Cc: freebsd-questions@freebsd.org Subject: Re: What order are options in rc.conf processed? Does your application startup script require NETWORKING? Just a shot in the dark from a newbie. -jgh On Mon, Jul 27, 2009 at 02:43:04PM -0700, Peter Steele thus spake: >We have an rc.conf file that looks something like this: > > > >ifconfig_nfe0=3D"UP" > >ifconfig_nfe1=3D"UP" > >cloned_interfaces=3D"lagg0" > >ifconfig_lagg0=3D"laggproto failover laggport nfe0 laggport nfe1 >netmask " > >defaultrouter=3D > >... > >ourapp_enable=3D"YES" > > > >In a recent reboot test, when "ourapp" started, it checked to see if an >IP was assigned to the system and there was not, causing it to take an >unexpected logic path. Our understanding though was that since we had an >entry in rc.conf defining the IP then our app should have started after >that IP was assigned. Is this true or is there potentially a timing >issue here? > > > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >