What order are options in rc.conf processed?

Peter Steele psteele at webmail.maxiscale.com
Mon Jul 27 21:40:18 UTC 2009


We have an rc.conf file that looks something like this:

 

ifconfig_nfe0="UP"

ifconfig_nfe1="UP"

cloned_interfaces="lagg0"

ifconfig_lagg0="laggproto failover laggport nfe0 laggport nfe1 <ip>
netmask <mask>"

defaultrouter=<router-ip>

...

ourapp_enable="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?

 



More information about the freebsd-questions mailing list