Re: rc(8) script -- waiting for the network to become usable

2010-04-27 Thread Brandon Gooch
On Mon, Apr 26, 2010 at 10:02 PM, Jeremy Chadwick wrote: > On Tue, Apr 27, 2010 at 09:48:41AM +1000, Phil wrote: >> Jeremy, >> A good proposal to improve start-up robustness. If I may suggest, >> waitnetwork_ip should include a short list of alternate IP's in >> the event of a local network outage

Re: rc(8) script -- waiting for the network to become usable

2010-04-26 Thread Jeremy Chadwick
On Tue, Apr 27, 2010 at 09:48:41AM +1000, Phil wrote: > Jeremy, > A good proposal to improve start-up robustness. If I may suggest, > waitnetwork_ip should include a short list of alternate IP's in > the event of a local network outage, or DOS, etc. Something like: > waitnetwork_ip="IP1 IP2 IP3

RE: rc(8) script -- waiting for the network to become usable

2010-04-26 Thread Phil
Jeremy, A good proposal to improve start-up robustness. If I may suggest, waitnetwork_ip should include a short list of alternate IP's in the event of a local network outage, or DOS, etc. Something like: waitnetwork_ip="IP1 IP2 IP3" Having multiple target IP's will improve the likelihood of ti

Re: rc(8) script -- waiting for the network to become usable

2010-04-26 Thread Jeremy Chadwick
On Mon, Apr 19, 2010 at 11:54:46AM -0700, Jeremy Chadwick wrote: > On Mon, Apr 19, 2010 at 11:05:17AM -0700, Doug Barton wrote: > > On 4/18/2010 4:24 PM, Andrew Reilly wrote: > > > By way of discussion, I'd just like to re-iterate what I > > > said the first time around: it must be understood that

Re: rc(8) script -- waiting for the network to become usable

2010-04-19 Thread Jeremy Chadwick
On Mon, Apr 19, 2010 at 11:05:17AM -0700, Doug Barton wrote: > On 4/18/2010 4:24 PM, Andrew Reilly wrote: > > By way of discussion, I'd just like to re-iterate what I > > said the first time around: it must be understood that this > > sort of thing is a (necessary) hacky-workaround that should > >

Re: rc(8) script -- waiting for the network to become usable

2010-04-19 Thread Garrett Cooper
On Mon, Apr 19, 2010 at 11:05 AM, Doug Barton wrote: > On 4/18/2010 4:24 PM, Andrew Reilly wrote: >> By way of discussion, I'd just like to re-iterate what I >> said the first time around: it must be understood that this >> sort of thing is a (necessary) hacky-workaround that should >> ultimately

Re: rc(8) script -- waiting for the network to become usable

2010-04-19 Thread Doug Barton
On 4/18/2010 4:24 PM, Andrew Reilly wrote: > By way of discussion, I'd just like to re-iterate what I > said the first time around: it must be understood that this > sort of thing is a (necessary) hacky-workaround that should > ultimately be unnecessary. While I find the discussion about launchd-

Re: rc(8) script -- waiting for the network to become usable

2010-04-18 Thread Daniel Braniss
> On Sun, Apr 18, 2010 at 02:37:27PM -0700, Jeremy Chadwick wrote: > > I'd like to discuss the possibility of introduction of a new script into > > /etc/rc.d base system a script, which when enabled, would provide a way > > to wait until the IP networking layer (using ping(8)) is up and usable > >

Re: rc(8) script -- waiting for the network to become usable

2010-04-18 Thread Garrett Cooper
On Sun, Apr 18, 2010 at 4:24 PM, Andrew Reilly wrote: > On Sun, Apr 18, 2010 at 02:37:27PM -0700, Jeremy Chadwick wrote: >> I'd like to discuss the possibility of introduction of a new script into >> /etc/rc.d base system a script, which when enabled, would provide a way >> to wait until the IP ne

Re: rc(8) script -- waiting for the network to become usable

2010-04-18 Thread Andrew Reilly
On Sun, Apr 18, 2010 at 02:37:27PM -0700, Jeremy Chadwick wrote: > I'd like to discuss the possibility of introduction of a new script into > /etc/rc.d base system a script, which when enabled, would provide a way > to wait until the IP networking layer (using ping(8)) is up and usable > before con

rc(8) script -- waiting for the network to become usable

2010-04-18 Thread Jeremy Chadwick
I'd like to discuss the possibility of introduction of a new script into /etc/rc.d base system a script, which when enabled, would provide a way to wait until the IP networking layer (using ping(8)) is up and usable before continuing with daemon startup. I've written a script that's in use on all