Last modified: 2014-05-19 16:01:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T65793, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63793 - labs-vagrant added a local vagrant user in conflict with ldap
labs-vagrant added a local vagrant user in conflict with ldap
Status: RESOLVED FIXED
Product: MediaWiki-Vagrant
Classification: Unclassified
labs-vagrant (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Bryan Davis
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-10 22:15 UTC by spage
Modified: 2014-05-19 16:01 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description spage 2014-04-10 22:15:16 UTC
I was having permission problems on ee-flow-extra.eqiad.wmflabs which I set up fresh with the role::labs::vagrant around March 24.

It turned out /etc/passwd had a local vagrant user with uid 1001, while as I understand it ldap supplies a vagrant user with uid 601.  /vagrant/mediawiki was owned by the LDAP vagrant (uid 601), but /vagrant/mediawiki/extensions was owned by the local vagrant (uid 1001).

I haven't spun up a new instance to reproduce, but this might be worth investigating. Meanwhile I documented how to fix in https://wikitech.wikimedia.org/wiki/Labs-vagrant#How_do_I....3F
Comment 1 Bryan Davis 2014-04-10 22:34:17 UTC
I thought this problem was fixed by https://gerrit.wikimedia.org/r/#/c/118053/. S said on irc that he thought the affected instance was created around 2014-03-24 which may have been before the patch landed.

This should be tested by spinning up a new labs-vagrant managed instance.
Comment 2 Gerrit Notification Bot 2014-05-10 07:01:27 UTC
Change 132446 had a related patch set uploaded by BryanDavis:
Rearrange handling of the 'vagrant' user for labs vagrant.

https://gerrit.wikimedia.org/r/132446
Comment 3 Gerrit Notification Bot 2014-05-10 07:36:01 UTC
Change 132446 merged by Andrew Bogott:
Rearrange handling of the 'vagrant' user for labs vagrant.

https://gerrit.wikimedia.org/r/132446

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links