[00:36:24] ok, having both mount points in works [00:37:01] /home overrides the individual maps, and the currently mounted individual maps don't cause problems with the autofs restart [09:31:06] !log wikidata install sitematrix extension [09:31:07] wikidata is not a valid project. [09:31:16] how do i log stuff? [09:31:43] !log wikidata-dev install sitematrix extension [09:31:44] Logged the message, Master [15:29:48] damn bot... [15:31:08] sumanah: https://www.mediawiki.org/w/index.php?title=Developer_access&diff=584693&oldid=584690 [15:31:34] thank you jeremyb! [15:31:45] sumanah: and https://bugzilla.wikimedia.org/show_bug.cgi?id=40125 ;) [15:31:58] :) [15:47:01] jeremyb what's up with bot? [15:47:02] !ping [15:47:02] pong [16:21:47] petan: the RC bot [16:21:58] petan: i can't remember which one normally does it in here [16:22:22] 01 05:42:50 <+wm-bot> Change on mediawiki a page Developer access was modified, changed by Sumanah link https://www.mediawiki.org/w/index.php?diff=578671 edit summary: /* User:Leucosticte */ [16:22:27] so wm-bot it is [16:22:33] i'll restart it [16:33:48] !ping [16:33:48] pong [16:33:49] damn that was slow [16:33:51] maybe still syncing [16:34:30] !ping [16:34:30] pong [16:34:34] that's better [17:20:26] hello [17:20:49] !account [17:20:49] in order to get an access to labs, please type !account-questions and ask Ryan, or someone who is in charge of creating account on labs [17:20:59] !account-questions [17:21:00] I need the following info from you: 1. Your preferred wiki user name. This will also be your git username, so if you'd prefer this to be your real name, then provide your real name. 2. Your preferred email address. 3. Your SVN account name, or your preferred shell account name, if you do not have SVN access. [17:21:38] hey folks average_drifter got an account created by sumana [17:21:58] but when trying to upload his ssh key on labs console he gets the following error [17:22:06] No Nova credentials found for your account. [17:22:07] There were no Nova credentials found for your user account. Please ask a Nova administrator to create credentials for you. [17:22:42] how can he fix this? [17:23:31] ? [17:23:34] hey Ryan_Lane, average_drifter got a labs console account [17:23:41] but can't upload his ssh key [17:23:54] what fails? [17:24:07] No Nova credentials found for your account. [17:24:08] There were no Nova credentials found for your user account. Please ask a Nova administrator to create credentials for you. [17:24:11] No Nova credentials found for your account. [17:24:13] There were no Nova credentials found for your user account. Please ask a Nova administrator to create credentials for you. [17:24:29] this is after logging in and trying to upload public ssh key [17:24:35] well, that would be an odd error for that interface [17:25:03] gimme a sec [17:25:06] cool [17:25:12] have you tried logging out and back in? [17:25:40] you should only ever have to do that once [17:25:44] and on a new account, never [17:25:50] which is why its weird [17:26:13] problem solved, thanks [17:26:34] <^demon|lunch> Ryan_Lane: Another auth question...I can ssh to bastion but not to gerrit-dev. [17:26:41] <^demon|lunch> It says key denied. [17:26:52] ^demon|lunch: can you ssh to any other instances? [17:26:57] are you using key forwarding? [17:27:13] <^demon|lunch> Haven't tried, and yes. [17:27:25] ok [17:27:28] gimme a min [17:27:34] I bet its stupid nscd or nslcd [17:27:37] <^demon|lunch> Yes, just ssh'd to gerrit-db [17:28:29] ^demon|lunch: try it for me [17:29:17] <^demon|lunch> Permission denied (publickey) [17:29:34] hm [17:30:32] try now [17:30:51] 09/18/2012 - 17:30:50 - Creating a home directory for spetrea at /export/keys/spetrea [17:31:00] ah [17:31:01] I see the problem [17:31:42] autofs isn't running [17:31:49] is is failing for some reason [17:32:00] ah [17:32:05] you upgraded this instance, didn't you/ [17:32:20] <^demon|lunch> I was about to. [17:32:41] <^demon|lunch> But stopped because apt yelled something about removing 3rd party sources and I didn't have time to play with it [17:35:49] 09/18/2012 - 17:35:49 - Updating keys for spetrea at /export/keys/spetrea [17:36:05] <^demon|lunch> Ryan_Lane: Should I just kill the instance and make a fresh one? [17:38:26] hey ^demon, quick gerrit question [17:38:46] i added stefan petrea to the analytics group but he still can't clone a repo.. [17:39:22] Can't clone? Everyone should have read. [17:39:28] Even anons. [17:39:48] read/write [17:40:03] Clone is a read. [17:40:16] From gerrit [17:40:37] What's he getting? [17:43:05] permission denied [17:44:38] oh mixup of shell name and username, nm [18:01:31] thanks ^demon for migrating wikistats! [18:01:45] You're welcome :) [18:01:50] I'm catching up on all the repo creations today [18:01:54] Almost done, actually. [18:05:30] TomDaley: internet has been down [18:05:32] so... [18:05:34] gerrit-dev [18:05:37] you upgraded it [18:05:44] was it successful? [18:05:54] I started to, but apt yelled about removing 3rd party sources. [18:06:02] well, it partially upgraded it [18:06:03] So I aborted since I didn't have time to mess with it [18:06:06] Urgh [18:06:17] I guess I'll just blow it away and redo it as a fresh instance. [18:06:23] will that cause you issues? [18:06:32] No, not really. It's totally puppetized. [18:06:35] ok, cool [18:06:37] Database is on different host. [18:07:25] Also, I had an idea rather than LDAP...what if we just allowed OpenID for the labs instance? [18:07:30] we can [18:07:30] Then people can login without using prod ldap. [18:07:37] that's fine [18:07:41] where to openid against, though? [18:07:48] this is why I want openid as a provider [18:07:51] at least on labsconsole [18:07:58] but the openid extension as a provider is broken [18:07:58] Oooh, yeah :\ [18:17:44] Ryan_Lane: Can you `rm -R /var/lib/gerrit2/review_site/git/mediawiki/extension` (NO TRAILING S) on manganese? I made a typo :( [18:34:53] TomDaley: -_- [18:35:58] Ryan_Lane: 2.5 <3 [18:36:19] TomDaley: there's a bunch of crap under this directory [18:36:27] you *sure* you want me to do it? [18:36:37] There should be 11 subdirs. [18:36:40] All created today [18:36:47] it's ok for me to delete these? [18:36:53] Yes, they're empty repos. [18:36:57] done [18:37:04] I already recreated them in extensions/* and pushed their history there. [18:37:05] :) [18:38:19] Ok, caches flushed. Thanks. [18:53:59] Whoo all repo creations caught up :) [18:58:15] Yay [19:14:48] pardon my question; but should i be getting this error when trying to create a user? http://fpaste.org/AeqN/ [19:15:28] homedirs are mounted via nfs so it's a bit of a funny setup. [19:15:42] I hate to think wtf anyone would want to install webmin, but you can easily put the dir somewhere else. [19:16:37] well thats what i tried after this issue actually xD [19:17:19] ill just create the directory seperatly and then chown it [19:17:42] System accounts should be created via puppet. [19:17:57] (And real people who need logins should be added through labs) [19:20:44] 09/18/2012 - 19:20:43 - Deleting home directory for wlm in project(s): wlmjudging [19:22:51] ^ related [19:25:42] 09/18/2012 - 19:25:42 - Deleting home directory for wlm in project(s): wlmjudging [19:26:56] i guess it dosnt like me having extra users... [19:40:52] Oh whoops. Gotta re-generate the ssl cert for gerrit-dev. [19:40:56] Forgot that :p [19:44:29] Change on 12mediawiki a page Developer access was modified, changed by Ynhockey link https://www.mediawiki.org/w/index.php?diff=584751 edit summary: [19:45:07] ^could someone approve that account real quick :) [21:16:02] Ryan_Lane: Newbie php question… if strpos returns false because the substring was not found, but can also return '0' if the substring was found at the beginning of the haystack… I take it 0 is somehow different from false? [21:16:26] Yes, if you check the type [21:16:32] Ie !== or === vs != and == [21:16:47] if(!strpos will fail but if(strpos() === false will be ok [21:17:08] * Damianz notes that probably made no sense and goes back to reading about dns reflection attacks [21:18:29] Yeah [21:18:55] andrewbogott: Basically you'll want to check with === false or !== false to make sure you're only comparing against a "real" false and not something else that looks like false, like 0 [21:19:09] Am I allowed to think that that's stupid? [21:19:14] php is stupid [21:19:24] like empty thinks 0 is 'empty', it's a fucking number [21:19:30] Or is not being able to do boolean operations on the value 'false' something that php people take for granted? [21:19:49] * andrewbogott grits his teeth and gets on with it [21:28:00] Damianz: empty($foo) is suppress_errors(!$foo) [21:28:30] andrewbogott: You can actually do boolean operations on it. It's just that PHP will "helpfully" cast other things to true/false for you if you do that [21:28:35] http://i.imgur.com/xosjh.png sums it up [21:29:11] RoanKattouw: But boolean ops won't distinguish between 'not found' and 'found at 0' right? [21:29:23] depends how you use them [21:29:39] if(strpos(...) !== false) will work, if(!strpos(...)) will fail [21:29:52] Same thing, but one checks the type, the other doesn't [21:29:58] because php is lame and loosly typed [21:30:06] andrewbogott: Correct, because if you're trying to use the number 0 as a boolean, it will be cast to false [21:30:30] If you felt pedantic you could do is_bool($result) && !$result I suppose [21:30:41] But $result === false is more common [21:30:59] It sounds like I should just do !== false if I want to know whether or not the needle was found. I can live with that. [21:31:50] mhm [21:32:13] Just use regex, everyone needs more regex