Dependencies
Scott James Remnant
scott at netsplit.com
Tue Oct 10 14:16:50 BST 2006
On Tue, 2006-10-10 at 09:01 -0400, Sean Russell wrote:
> On Monday 09 October 2006 17:33, Scott James Remnant wrote:
> > > Does Upstart generate an event when a job goes into a wait state?
> >
> > Yes, upstart generates events at all job state changes.
>
> Well, then, all of the situations can have a well-defined, reasonable
> behavior. To re-iterate, a conditional requirement is considered
> satisfied if (0) it isn't present in /etc/event.d, (1) it fails, or (2)
> it goes into a wait state.
>
Or is started?
> Or, in Gentoo speak:
>
> need a
> need b
> after c
>
Could you elaborate a little more on what the effect of this is? I'm
not familar with Gentoo's init system.
> This is somewhat tedious for event maintainers. A better solution would
> be if jobs can define their own event names, so that "metalog" would
> generate "logger" events. This would make systems maintenance much
> easier, but isn't strictly necessary.
>
Jobs can emit any event names that they wish through initctl, it would
not be unusual for jobs to agree on a common event that is emitted (e.g.
"mta-ready").
Scott
--
Have you ever, ever felt like this?
Had strange things happen? Are you going round the twist?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/upstart-devel/attachments/20061010/f512ee02/attachment.pgp
More information about the Upstart-devel
mailing list