Slight, maybe problem.

Luka Renko lure at ubuntu.com
Mon Nov 13 20:13:43 GMT 2006


On Monday 13 November 2006 03:53, Jerry Haltom wrote:
> Since our event match tree is created when Upstart learns of a job, it
> is only filled in from then on. If a new job is added, such as
> installing Apache, the Apache job will be learned, but it will have
> never heard from "network-up", and thus will be waiting for the network
> to come up.

This is exactly what was discussed on upstart BOF in MtView: for "and" 
conditions, we need to keep the state of event and evaluate the complete 
condition on every change of state (or better event). In your example, newly 
registered job (apache) would evaluate conditon of network-up that would be 
cached in upstart. 
Ian's proposal was suppose to solve exactly this problem.

Regards,
Luka



More information about the Upstart-devel mailing list