/srv/irclogs.ubuntu.com/2013/02/11/#upstart.txt

xnoxstgraber: =) i should sleep ;-)04:40
stgraberxnox: yeah because it soon won't be worth it anymore ;)05:03
phroddonHi14:08
phroddonDoes anyone know if it's possible to interrupt properly a job which is still in a pre-start section ?14:11
phroddonexample: My pre-start script spawns a little script S which might take a long time to returns. If during this time, I issue a "stop" command on my job, this stop command is handled only once the pre-start has finished.14:14
phroddonlike this: http://www.pastebin.ca/231282514:17
phroddon(a stop command occuring during the sleep command will not stop the job immediately)14:18
SpamapSphroddon: that may be a corner case that could be handled better.. but I'd say that pre-starts should probably be small and predictable14:41
phroddonSpamapS: thx for your answer, yes the cookbook gives the same advice "...but any heavy logic is discouraged," :)14:45
stgrabernot again... my build of the current trunk is hanging on a test but isn't on my laptop... back to figuring out what's different between the buildd and my build environment20:06
stgraberoh, at least it's not just me, the PPA daily builds are also hanging ;)20:08
stgrabergah, I reverted commit by commit and don't see what causes the regression, so re-uploading the last known working to see if it hangs too...22:15
stgraberif it does, then I'll need to do my usual 8.04 VM + lp buildd chroot and try to figure out what's going on here...22:15
stgraber(or just ask for a non-virt PPA and avoid that madness)22:16
stgraberslangasek: thanks for the blueprint update ;)22:17
slangasekstgraber: sure ;)  I wasn't sure of the status of the other WIs, if you consider them done or not?22:17
stgraberslangasek: I guess I can mark them done, they'll need some work once we get the environment bug fixed (where you can't do "start on started <something>" where <something> changes the environment)22:19
* slangasek nods22:19
stgraberbut that can go in the "get that stuff in the archive" work item :)22:19
stgraberalready, there goes any hope I had left to get a working upstart today... re-building the same upload I did on Thursday also hangs on the buildds so it's not something we broke in trunk since...22:33
stgraberit's either some kind of race or something changed on the buildds (I must have tried around 15 builds this afternoon, so if it's a race, I was terribly lucky on Thursday)22:33
stgrabernow to setup my 8.04 VM and see if I can reproduce in a buildd chroot...22:34

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!