Re: upstart: please update to latest upstream version
On Fri, Feb 24, 2012 at 20:17, Steve Langasek <email@example.com> wrote:
> On Thu, Feb 23, 2012 at 11:58:08AM +0100, Goswin von Brederlow wrote:
>> Upstart also does not support Should-Start which makes it impossible to
>> provide corect init scripts for a number of services. For example autofs
>> will not work if it uses nis because nis is not started before
>> autofs. Due to the lack of Should-Start the only way to get nis to start
>> before autofs would require autofs to depends on nis.
> The way to express this in upstart is to declare nis 'start on starting
> autofs or runlevel '. The relationship is written in the opposite
> direction compared with LSB init scripts, but is no less flexible.
This will, however, start nis in parallel with autofs, whereas what is
probably wanted is that nis be up and running before autofs is
I guess that the wanted behavior has to be implemented through some
sort of "start-nis" task which starts on autofs starting, blocks the
latter so long as it runs, and stops when nis has started.
Or perhaps there is an easier way.