[15:50] hi [15:51] is there some upstart command for executing actions with a specific user ? [15:55] sudo -u ? === ion_ is now known as ion [21:04] hi KeyBuk :) [21:57] hi [22:04] sup ? [22:05] not much...\ [22:09] Keybuk: forgive me for assigning some new upstart (Ubuntu) bugs to upstart. I'm on a triaging mission. :-P [22:10] SpamapS: that's ok [22:10] you'll want to subscribe James to them, obviously [22:10] though he may be automatically [22:11] Yes indeed. I'm trying to whittle it down to actual bugs.. there's a lot of cruft. [22:14] I'll read them in a "will this be a problem in upstart2" kindof way [22:15] You know, Coit Tower isn't actually made of ivory... [22:15] ;) [22:15] huh? [22:16] lame attempt to poke fun at your enviable position of being in charge of the rewrite [22:16] heh :)\ [22:17] it's more that there's enough deep bugs in the design with good known fixes in 2 at this point that I find it hard to shift gears back to the existing design [22:17] and since I'm not being paid to develop Upstart to Ubuntu's timescales anymore, I have the luxury of focussing on 2 rather than bolting fixes onto 1 ;-) [22:18] Threw in a San Fran reference, just to make it that much more confusing. Thats what makes a good joke.. when you have to explain it to the smartest people you know. ;) [22:18] ah, but I live in San Jose technically ;-) [22:19] Where they do have ivory towers? [22:19] dunno, I've not been into San Jose since 1999 [22:19] visiting Dustin at the Doubletree by the Airport on Monday doesn't count [22:19] No but seriously.. we're all excited to see it and I like that you can tell people to go stuff it until its done. [22:19] nor does visiting the Mercado Center [22:20] I like the ultra-slow light rail that goes between San Jose and Mountain View.. very fun to run along side it and wave to the passengers. [22:20] haha, yeah [22:20] my apartment is right by that [22:20] BTW have you run into Mathiaz? he's in DT SFO now [22:21] I take the Google Shuttle into Mountain View ;-) [22:21] no, I haven't [22:23] bug #707479 -> by design [22:24] oh? [22:25] likewise the fact that restart errors if it's not running [22:25] right, I think the restart command is broadly misunderstood [22:25] and I include myself in the group that misunderstands it [22:25] restart is exactly what it says [22:25] it restarts a running service [22:25] using the same configuration it is currently running with [22:26] I expect it to work like init.d scripts' restart .. which calls $0 stop ; $0 start .. but its just a little bit different. [22:26] init.d scripts are massively variable on how they restart [22:26] some send signals [22:26] and others do call into themselves for stop and start [22:26] so for Upstart, I had to pick one behaviour [22:27] since you can just run "stop job ; start job" I decided having the other behaviour was more useful for restart [22:27] Would it make sense to add a note about it in man 5 init? [22:28] I think people will still misunderstand, but at least we can close the bug reports with RTFM. [22:30] sure, feel free to add a patch to document that ;-) [22:31] a good way of putting it [22:31] restart is a special command to restart a running service without changing its configuration [22:31] its intended for use when you're unsure whether or not someone may have altered the configuration file under you [22:31] and you want the existing job restarted (e.g. to enact a config change of its own) and not have it replaced by another [22:32] SpamapS: also can you do a bit of de-dupping if you're adding upstream tasks [22:32] e.g. 703800 and 568288 might be the same? [22:34] Keybuk: of course. Reading it, to me its not clear that they're duplicate, but I will most definitely take your word for it that they might be. [22:34] no, I haven't read them thoroughly [22:34] but since you're triaging, maybe worth a pass through [22:34] and at least a comment to say why you don't think they are, etc. :p [22:34] (hey, I get to pretend Ubuntu is terrible to upstreams :p) [22:35] No no, we care about you, Mr. Upstream... are you done fixing it? did you fix it yet? Fix it now. [22:35] patches welcome [22:36] but first, sign my copyright assignment agreement please [22:36] it says you have to give me both copyright and ONE MILLION DOLLARS *pinky* [22:37] only a million? but this patch is priceless! [22:37] Oh wait, I'm giving you a million.. crap. This is almost as bad as trying to get patches into FreeBSD [22:40] * Keybuk gets bored of pressing ^D to boot [22:48] keybuk: You might find this video about testing software with QuickCheck interesting. http://video.google.com/videoplay?docid=4655369445141008672 [22:50] QuickCheck? [22:50] does that involve Haskell? [22:51] In that video, the Erlang implementation is used. There are implementations of it in multiple languages. [22:55] In particular, the examples of real world bugs uncovered by QuickCheck that weren’t found with manually written unit tests are interesting.