Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 2009 13:48:24 -0800
From:      Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: What order are options in rc.conf processed?
Message-ID:  <200907271348.24790.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
In-Reply-To: <B8A480488C0C6849826655761349EA431F6EB7@owa.webmail.maxiscale.com>
References:  <B8A480488C0C6849826655761349EA431F6EB7@owa.webmail.maxiscale.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 27 July 2009 13:43:04 Peter Steele wrote:

> 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?

It is false. See the manpage for rcorder, specifically the BEFORE and REQUIRE 
keywords. However, there still may be a timing issue, if ourapp requires the 
interface to be up (not just an IP assigned).
-- 
Mel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907271348.24790.mel.flynn%2Bfbsd.questions>