Last modified: 2014-04-16 23:24:57 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 T61243, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59243 - Failed to mount folders in Linux guest.
Failed to mount folders in Linux guest.
Status: RESOLVED FIXED
Product: MediaWiki-Vagrant
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Bryan Davis
:
: 63643 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-03 10:57 UTC by physikerwelt
Modified: 2014-04-16 23:24 UTC (History)
5 users (show)

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


Attachments
"vagrant up" log (7.33 KB, text/plain)
2014-04-15 21:32 UTC, Ori Livneh
Details

Description physikerwelt 2014-01-03 10:57:21 UTC
Try the following to reproduce the error run
$ vagrant box remove precise-cloud
clone a fresh vagrant copy by
$ git clone https://gerrit.wikimedia.org/r/mediawiki/vagrant
$ cd vagrant
$ vagrant up
and you get the error 

Failed to mount folders in Linux guest. This is usually beacuse
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:

mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group www-data | cut -d: -f3` /vagrant /vagrant
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g www-data` /vagrant /vagrant

This was reproduced with various versions
- Windows 8 Version: 4.3.6 and Vagrant 1.3.5,
- Ubuntu 12.04 LTS apt dependencis 
- MacOSX 10.9.1 with VirtualBox Version: 4.3.6 and Vagrant 1.3.5
- Win8 with VirtualBox Version: 4.3 and Vagrant 1.4.2
- Ubuntu Release 12.10 (quantal) 64-bit Kernel Linux 3.5.0-44-generic vagrant_1.4.2_x86_64 Virtualbox 4.1.18

Maybe there was a major change in
https://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box

The origial error was found a modified version of the vm which I misued for teaching purposes
https://github.com/TU-Berlin/dopa-vm/issues/10

However, I think I have a systematically error somewhere in my system setup. So please try to reproduce the problem by yourself.
Comment 1 physikerwelt 2014-01-06 12:17:56 UTC
I tried it again with today’s version and the problem has disappeared.
Comment 2 Andre Klapper 2014-01-06 14:03:42 UTC
[WORKSFORME if no identifiable commit]
Comment 3 physikerwelt 2014-02-02 14:02:26 UTC
Similar problem with today's version of
https://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box

[default] Machine booted and ready!
GuestAdditions seems to be installed (4.1.12) correctly, but not running.
bash: line 2: /etc/init.d/vboxadd: No such file or directory
bash: line 2: /etc/init.d/vboxadd: No such file or directory
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

/etc/init.d/vboxadd setup

Stdout from the command:



Stderr from the command:

bash: line 2: /etc/init.d/vboxadd: No such file or directory


swithching to 
    config.vm.box_url = 'http://files.vagrantup.com/precise64.box'

and running
vagrant destroy
vagrant box remove precise-cloud
vagrant up

resolves the problem

It might be a good idea to use a static link to a particular box version, i.e. with regard to reproducibility.
Comment 4 physikerwelt 2014-02-18 08:12:21 UTC
The problem might be an old virtualbox version

vboxheadless --version
Oracle VM VirtualBox Headless Interface 4.1.12_Ubuntu
(C) 2008-2013 Oracle Corporation
All rights reserved.

4.1.12_Ubuntur77245

Can we add a minimal requirement for the virtualboxversion to
https://www.mediawiki.org/wiki/MediaWiki-Vagrant ?
Comment 5 Steven Walling 2014-04-07 18:18:16 UTC
*** Bug 63643 has been marked as a duplicate of this bug. ***
Comment 6 Ori Livneh 2014-04-15 21:32:16 UTC
Created attachment 15110 [details]
"vagrant up" log
Comment 7 Gerrit Notification Bot 2014-04-15 21:36:58 UTC
Change 126137 had a related patch set uploaded by Ori.livneh:
Revert "Bundle vagrant-vbguest plugin"

https://gerrit.wikimedia.org/r/126137
Comment 8 Gerrit Notification Bot 2014-04-15 23:12:35 UTC
Change 126137 merged by jenkins-bot:
Revert "Bundle vagrant-vbguest plugin"

https://gerrit.wikimedia.org/r/126137
Comment 9 Steven Walling 2014-04-16 23:24:57 UTC
After this patch, a git pull and vagrant provision has vagrant working as expected without any local hacks to lib/vagrant-vbguest.rb etc. 

Thanks for the fix guys. :)

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


Navigation
Links