[08:45] <jodh> xnox: could you take a look at https://code.launchpad.net/~jamesodhunt/upstart/fix-libupstart/+merge/172371 when you're about?
[15:24] <Pyretic> hi, i tried creating a simple upstart job, but start/stop is hanging, now i tried every form of expect (none/fork/daemon) but that doesn't help, anyone know where to look ?
[15:25] <Pyretic> script looks like this: http://pastebin.com/xKfeqbZ5
[15:27] <jodh> Pyretic: /usr/share/... for a binary? Have you read the extremely important section in the cookbook on expect? http://upstart.ubuntu.com/cookbook/#expect
[15:29] <Pyretic> yes, i've read it also from the strace it actuallly forks more then two times
[15:30] <Pyretic> that's why all i tried all expect forms, but no luck, the pid is different each time
[15:33] <jodh> Pyretic: this must be ruby-specific behaviour then: no daemon needs to fork >2 times. I'd look to see if it is possible to run this service in the foreground somehow and then remove 'expect'. Otherwise, make the "final" forked process call SIGSTOP and specify "expect stop".
[15:38] <jodh> Pyretic: seems that foreman can auto-generate upstart jobs (?): http://michaelvanrooijen.com/articles/2011/06/08-managing-and-monitoring-your-ruby-application-with-foreman-and-upstart/
[15:39] <Pyretic> lol yes, bit of a naming confusion there
[15:39] <Pyretic> foreman: http://ddollar.github.io/foreman/ vs theforeman http://theforeman.org/ :)
[15:39] <jodh> Pyretic: :)
[15:58] <jodh> xnox/slangasek: please could one of you review https://code.launchpad.net/~jamesodhunt/upstart/fix-libupstart/+merge/172371
[16:02] <xnox> =)
[16:04]  * jodh wanders off to print out the automake manual, pin it to a wall and shoot at it...
[16:05] <slangasek> xnox: do you have this, or do you need me to review?
[16:05] <slangasek> jodh: aim for the conditionals
[16:06] <jodh> slangasek: :) if you know the magic incantation to remove those multiple mkdirs, pleeeeease do let me know :)
[16:07] <xnox> slangasek: i have been reviewing it. it's straightforward sans automake.
[16:15] <Pyretic> jodh: i disabled the daemon setting, works now thanks :)
[16:18] <jodh> Pyretic: great.
[16:18] <xnox> jodh: distcheck failed for me.....
[16:19] <jodh> xnox: same problem with upstart/ missing?
[16:22] <jodh> xnox: about? or are you busy shooting at walls too?
[16:24] <xnox> jodh: no, it's shared/static linking problem this time around.
[16:36] <jodh> xnox: can you send me details? I've just tested with a pristine checkout and all works as expected.
[16:44] <xnox> hm....
[18:50] <slangasek> xnox: can I suggest punting on libupstart for the initial 1.9 upload?
[18:51] <xnox> slangasek: yeah, best to upload, we can add it later.
[18:52] <slangasek> xnox: is the branch currently in a state that it can be uploaded, then - and would you mind uploading?
[18:54] <xnox> slangasek: will double check and upload after dinner =)
[18:54] <slangasek> xnox: ok, thanks :)
[21:36] <xnox> slangasek: uploaded.
[21:54] <slangasek> xnox: cheers :)
[21:56] <xnox> how british, sir. I like that =)