On Fri, 2009-02-13 at 10:30 -0800, Garrett Cooper wrote:

> On Fri, Feb 13, 2009 at 10:23 AM, Scott James Remnant
> <sc...@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 :).
> 
It's not malformed.

You're matching the "halloween" event with the arguments "/" and
"duwali"

Consider:

        start on path-mounted /

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
upstart-devel mailing list
upstart-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/upstart-devel

Reply via email to