Re: upstart: please update to latest upstream version
On Feb 25, 2012, at 12:42 AM, Steve Langasek wrote:
> Well, I fudged a little here. You're right that, as written above, nis is
> not guaranteed to start before autofs. Due to a (well-understood and
> recognized) limitation of upstart's current event handling, if the
> 'runlevel' event is seen before 'starting autofs', the subsequent 'starting
> autofs' event will *not* block waiting for nis to be started, and so the
> startup will happen in parallel.
> This can be worked around by having two separate jobs for nis, one which is
> 'start on starting autofs (or starting $other_service_that_wants_nis)' and
> calls 'exec start wait-for-state WAIT_FOR=nis WAITER="$UPSTART_EVENTS"', and
> the other which is 'start on runlevel ' and handles starting nis
And this is what I meant earlier when I said that systemd has a much cleaner
and consistent design. It doesn't need these quirks, it was designed and
written with all these scenarios in mind.
Of course, software is never perfect, but I'd say this is a fundamental
feature which should work without external quirks.