Upstart helpers (abstract jobs and event aliases) for Oneiric
james.hunt at ubuntu.com
Wed Jun 8 16:30:08 UTC 2011
On 08/06/11 16:31, Steffen Barszus wrote:
> 2011/6/8 Evan Huus <eapache at gmail.com>:
>> I've been following this thread for a bit now, and I was just struck
>> by a similarity between some of the proposed solutions and Java
>> Interfaces (yes, I know).
>> A lot of the proposals based on Option 1 or an alias keyword are
>> basically saying that we need a way to say
>> (for gdm)
>> implements display-manager
>> (for ufw)
>> implements firewall
>> 'Alias' is a fair bit broader than we would need.
>> That way of thinking seems most coherent to me, and it makes for very
>> nice syntax if you try "start display-manager" with multiple
>>> start display-manager
>> Multiple jobs found which implement display-manager:
>> 1) gdm
>> 2) xdm
> I would not put to much thought in this case - it would even fail on
> SystemV at the moment and should be catched by packagemanagement as it
> is now.
It won't be caught on Debian or Ubuntu by apt since DM's "provide" x-display-manager and as such you
can install gdm, lightdm, xdm et al with no problems. However, when you reboot who knows what might
happen (I've yet to try this :)
Even a general error or any of them started arbitrary should
> be ok.
> And i like the alias approach as well. You talking about solution not
> workaround right ? Well as long as its no "hardcoded list known to the
> ubuntu developers and making assumptions" I'm fine with it.
More information about the upstart-devel