What order are options in rc.conf processed?
mel.flynn+fbsd.questions at mailing.thruhere.net
Mon Jul 27 21:48:26 UTC 2009
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).
More information about the freebsd-questions