The cookbook explanation describes a known bug in Upstart (<meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="https://bugs.launchpad.net/upstart/+bug/568860">https://bugs.launchpad.net/upstart/+bug/568860</a>)<div>
<br></div><div>I would really rather we didn't start writing scripts and binaries to work around bugs instead of writing patches to fix them.</div><div><br></div><div>Scott</div><div><br><div class="gmail_quote">On Wed, May 4, 2011 at 11:07 AM, Mark Russell <span dir="ltr"><<a href="mailto:mark.russell@canonical.com">mark.russell@canonical.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">The Cookbook explanation might be helpful:<br>
<br>
<a href="http://upstart.ubuntu.com/cookbook/#block-another-job-until-yours-has-started" target="_blank">http://upstart.ubuntu.com/cookbook/#block-another-job-until-yours-has-started</a><br>
<div><div></div><div class="h5"><br>
<br>
On 05/04/2011 01:56 PM, Scott James Remnant wrote:<br>
> I don't understand what you mean by this.<br>
><br>
> You will need to be more verbose in your explanation.<br>
><br>
> On Wed, May 4, 2011 at 10:53 AM, Clint Byrum <<a href="mailto:clint@ubuntu.com">clint@ubuntu.com</a>> wrote:<br>
><br>
>> Excerpts from Scott James Remnant's message of Wed May 04 09:48:09 -0700<br>
>> 2011:<br>
>>> Right, but this still doesn't explain what it does or why Upstart can't<br>
>>> already do this.<br>
>><br>
>> The issue is that upstart only blocks on goal changes, not on completion<br>
>> of the goal.<br>
>><br>
>> So if you have an OR condition, and the two things happen one after the<br>
>> other, it has been my observation that the second event does not block,<br>
>> because the goal is already 'start'.<br>
>><br>
>> Its entirely possible that I misunderstood the problem I was having,<br>
>> but this was the solution I came up with, and has been in place for<br>
>> statd and portmap in Ubuntu for a while now.<br>
>><br>
><br>
<br>
<br>
</div></div><font color="#888888">--<br>
Mark Russell | Mobile: <a href="tel:%2B1%20347%20733%203211" value="+13477333211">+1 347 733 3211</a><br>
Premium Service Engineer | Canonical, Ltd.<br>
<<a href="mailto:mark.russell@canonical.com">mark.russell@canonical.com</a>> | GPG: 4096R/B3BBA7D1<br>
<br>
<a href="http://www.ubuntu.com" target="_blank">www.ubuntu.com</a> | <a href="http://www.canonical.com" target="_blank">www.canonical.com</a><br>
</font><div><div></div><div class="h5"><br>
--<br>
upstart-devel mailing list<br>
<a href="mailto:upstart-devel@lists.ubuntu.com">upstart-devel@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/upstart-devel" target="_blank">https://lists.ubuntu.com/mailman/listinfo/upstart-devel</a><br>
</div></div></blockquote></div><br></div>