[Bug 54074] Remove trailing slashes in LDAP's service user homedirs

2014-03-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54074

Tim Landscheidt t...@tim-landscheidt.de changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Tim Landscheidt t...@tim-landscheidt.de ---
The move to eqiad has solved this:

| scfc@tools-login:~$ getent passwd | grep '^tools\.' | cut -d : -f 6 | grep
'/$'
| scfc@tools-login:~$

The workaround is also gone, thus closing the bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54074] Remove trailing slashes in LDAP's service user homedirs

2013-12-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54074

Tim Landscheidt t...@tim-landscheidt.de changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 CC||abog...@wikimedia.org,
   ||rlan...@gmail.com
 Resolution|FIXED   |---
Summary|$HOME not abbreviated   |Remove trailing slashes in
   ||LDAP's service user
   ||homedirs
   Severity|normal  |trivial

--- Comment #3 from Tim Landscheidt t...@tim-landscheidt.de ---
Looking at
https://wikitech.wikimedia.org/w/index.php?title=Special:NovaProjectaction=configureprojectprojectname=tools,
the service user homedir pattern is set to /data/project/%u, so no trailing
slashes shouldn't have a side effect.

So we should just clean up the database once and remove the workaround then.

Andrew, Ryan, we need:

- For all service users in the Tools project,
- if the homedir has a trailing slash,
- remove it.

Actual output at the moment is:

| scfc@tools-login:~$ getent passwd local-wikilint
| local-wikilint:x:50420:50420:local-wikilint:/data/project/wikilint/:/bin/bash
| scfc@tools-login:~$

Expected output is:

| scfc@tools-login:~$ getent passwd local-ggu
| local-ggu:x:50961:50961:local-ggu:/data/project/ggu:/bin/bash
| scfc@tools-login:~$

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l