Re: [Cloud] Changing my shell preference

2017-12-31 Thread Martin Urbanec
Hello, your password on tools is your Wikitech password. Anyway, what you tried won't work because it works with /etc/passwd and tools authorize you using LDAP. The only one think that comes to my mind is to add /usr/bin/zsh to the .bashrc file (and probably delete the rest of its content as it wo

Re: [Cloud] Changing my shell preference

2017-12-31 Thread Chad Horohoe
It can be set in LDAP. Does `chsh.ldap` work for you? It'll prompt for your LDAP password, I believe. -Chad On Sun, Dec 31, 2017 at 3:42 AM Martin Urbanec wrote: > Hello, > > your password on tools is your Wikitech password. Anyway, what you tried > won't work because it works with /etc/passwd

Re: [Cloud] Changing my shell preference

2017-12-31 Thread Martin Urbanec
At dev.tools.wmflabs.org: command not found. At bastion.wmflabs.org the command exists, ask for LDAP password but do nothing for both bastion and dev.tools.wmflabs.org. Martin ne 31. 12. 2017 v 16:35 odesílatel Chad Horohoe napsal: > It can be set in LDAP. Does `chsh.ldap` work for you? It'll p

Re: [Cloud] Changing my shell preference

2017-12-31 Thread Alex Monk
Does it change what's shown at `ldapsearch -x uid=yourusername loginShell` or `getent passed yourusername`? On 31 Dec 2017 15:41, "Martin Urbanec" wrote: > At dev.tools.wmflabs.org: command not found. At bastion.wmflabs.org the > command exists, ask for LDAP password but do nothing for both bast

Re: [Cloud] Changing my shell preference

2017-12-31 Thread Alex Monk
getent passwd* On 31 Dec 2017 15:46, "Alex Monk" wrote: Does it change what's shown at `ldapsearch -x uid=yourusername loginShell` or `getent passed yourusername`? On 31 Dec 2017 15:41, "Martin Urbanec" wrote: > At dev.tools.wmflabs.org: command not found. At bastion.wmflabs.org the > command

Re: [Cloud] Changing my shell preference

2017-12-31 Thread Martin Urbanec
Just the first one, second one stays to be /bin/bash. Martin ne 31. 12. 2017 v 16:47 odesílatel Alex Monk napsal: > getent passwd* > > > On 31 Dec 2017 15:46, "Alex Monk" wrote: > > Does it change what's shown at `ldapsearch -x uid=yourusername loginShell` > or `getent passed yourusername`? >

Re: [Cloud] Changing my shell preference

2017-12-31 Thread Alex Monk
Maybe our instances are not set to pull loginShell info from LDAP? On 31 Dec 2017 16:03, "Martin Urbanec" wrote: > Just the first one, second one stays to be /bin/bash. > > Martin > > ne 31. 12. 2017 v 16:47 odesílatel Alex Monk napsal: > >> getent passwd* >> >> >> On 31 Dec 2017 15:46, "Alex M

Re: [Cloud] Changing my shell preference

2017-12-31 Thread Huji Lee
On Sun, Dec 31, 2017 at 6:41 AM, Martin Urbanec wrote: > Hello, > > The only one think that comes to my mind is to add /usr/bin/zsh to the .bashrc > file (and probably delete the rest of its content as it won't be needed). > But this is a hack > > ​It seems like .bashrc is managed by the puppet,

Re: [Cloud] Changing my shell preference

2017-12-31 Thread Huji Lee
At login.tools.wmflabs.org the command chsh.ldap does not exist either. On Sun, Dec 31, 2017 at 10:41 AM, Martin Urbanec < martin.urba...@wikimedia.cz> wrote: > At dev.tools.wmflabs.org: command not found. At bastion.wmflabs.org the > command exists, ask for LDAP password but do nothing for both

Re: [Cloud] Changing my shell preference

2017-12-31 Thread Alex Monk
I think there might just be some caching going on. I ran chsh.ldap on bastion.wmflabs.org and when I went to deployment-puppetmaster02.deployment-prep.eqiad.wmflabs, it executed the new shell. bastion still didn't. On 31 December 2017 at 16:31, Huji Lee wrote: > At login.tools.wmflabs.org the com

Re: [Cloud] Help with a query

2017-12-31 Thread Brad Jorsch (Anomie)
On Sat, Dec 30, 2017 at 10:55 PM, Huji Lee wrote: > and log_id > 9406768; > As I said earlier, it was bad advice to use log_id rather than log_timestamp for this query. -- Brad Jorsch (Anomie) Senior Software Engineer Wikimedia Foundation ___ Wikime

Re: [Cloud] Help with a query

2017-12-31 Thread Bryan Davis
On Sat, Dec 30, 2017 at 8:55 PM, Huji Lee wrote: > What is the proper strategy for temporary (physical or in-memory) tables on > Toolforge? Allowing temp tables on the new Wiki Replica servers was investigated in . The resulting decision was that `CREATE

Re: [Cloud] Changing my shell preference

2017-12-31 Thread Bryan Davis
On Sun, Dec 31, 2017 at 10:02 AM, Alex Monk wrote: > I think there might just be some caching going on. I ran chsh.ldap on > bastion.wmflabs.org and when I went to > deployment-puppetmaster02.deployment-prep.eqiad.wmflabs, it executed > the new shell. bastion still didn't. We run nscd (

Re: [Cloud] Help with a query

2017-12-31 Thread Huji Lee
Sorry Brad, I had missed your email. Putting log_timestamp back in and restricting the query to a shorter time period made it work under 20 minutes: https://quarry.wmflabs.org/query/23829 Thank you all for your assistance! On Sun, Dec 31, 2017 at 1:44 PM, Brad Jorsch (Anomie) wrote: > On Sat,