Proposed 1.0 semantics specification
Scott James Remnant
scott at netsplit.com
Wed Jun 17 20:13:52 BST 2009
On Wed, 2009-06-17 at 09:53 -0700, Daniel L. Miller wrote:
> Scott James Remnant wrote:
> >> There as probably much more required methods "on_start on_event
> >> on_starting on_failed_dependency ..."
> >>
> >>
> > "Failed dependency" is an interesting one; Upstart doesn't really
> > process jobs in that way - a job simply stays dormant all the time its
> > while condition isn't satisfied.
> >
> > The only time you'd get a "failed to start due to a while condition" is
> > if, as a sysadmin, you ran "start JOB" manually -- this is communicated
> > back as an error to the start command, other jobs on the system don't
> > need to know about it.
> >
> Perhaps I'm missing something (probably). I'm basing the following on
> the assumption that jobs like "starting the mailserver", which happen
> "upon startup after networking initialized" magically happen by Upstart
> parsing the configs.
>
> As a syadmin, if a machine is rebooted, and various processes that are
> supposed to startup DON'T - that's important information! My particular
> example is a bad one - cuz without mail services or networking its kind
> of hard to e-mail the sysadmin - but do you follow where I'm going?
>
Yes, I do follow.
This kind of "boot essential" job has been speculated for a while, but
no design for it has come forwards.
Upstart's design does inherently mean that services may simply not be
started, and that's not considered an error condition.
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: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/upstart-devel/attachments/20090617/b0cd2897/attachment.pgp
More information about the upstart-devel
mailing list