Need clarification on possible bug with start on / stop on stanza logic

Garrett Cooper yanegomi at gmail.com
Fri Feb 13 18:30:27 GMT 2009


On Fri, Feb 13, 2009 at 10:23 AM, Scott James Remnant
<scott at netsplit.com> wrote:
> On Thu, 2009-02-12 at 16:23 -0800, Garrett Cooper wrote:
>
>>     I found this gem while producing tests for upstart, and I'm
>> wondering whether or not this is a bug that should be filed:
>>
>> [comet-k5-12:/etc/init/jobs.d]$ cat foo+
>> stop on halloween / duwali
>> [comet-k5-12:/etc/init/jobs.d]$ start foo+
>> [comet-k5-12:/etc/init/jobs.d]$ start foo+
>> start: Unable to start job: Job is already running: foo+
>>
> Could you point out which bit you think is the bug?
>
> Scott

    I question the fact that the parser completely ignores a malformed
statement `halloween / duwali' after `stop on', because certain
characters (like `/') can't be used to qualify upstart's simple
English boolean statements :).
Thanks,
-Garrett



More information about the upstart-devel mailing list