Upstart helpers (abstract jobs and event aliases) for Oneiric

Jan Claeys lists at janc.be
Wed Jun 8 16:10:17 UTC 2011


James Hunt schreef op wo 08-06-2011 om 14:48 [+0100]:
> On 08/06/11 02:35, Jan Claeys wrote:
> > The main disadvantage for this is that the start/stop/etc. command don't
> > work without a job name.  So you can't do a 'restart firewall', but you
> > have to check what firewall service is running, and then  restart that
> > job.  I'm not 100% sure this is bad or good though (services might have
> > different (default) behaviour despite providing the same service)?

> Also a good point. They should of course all provide a common subset of whatever service they do
> provide (a firewall is expected to block ports, a DM to display a graphical login prompt, etc), but
> this exercise could well be somewhat of a learning experience. However, note that the small set of
> abstractions that we've identified so far [1] should help avoid future surprises there as most of
> them have been identified from common categories of bugs we have seen.

Well, e.g. firewalls might have different default behaviours etc.; in
that case it might be beneficial that you first have to check which one
is used...   ;)


-- 
Jan Claeys




More information about the upstart-devel mailing list