magfest / ubersystem

MAGFest's Ubersystem - handles ticketing, staffing, analytics, volunteers, and tons more
http://magfest.org
GNU Affero General Public License v3.0
48 stars 55 forks source link

vagrant: vagrant up tries to make a symlink on dos based filesystem where not allowed #191

Closed binary1230 closed 9 years ago

binary1230 commented 10 years ago

If I run: vagrant up

vagrant@vagrant-ubuntu-raring-32:~/magfest$ python3 -m venv env
Unable to symlink '/usr/bin/python3' to '/home/vagrant/magfest/env/bin/python3' Error: [Errno 71] Protocol error: '/home/vagrant/magfest/env/bin/python'

this is coming from vagrant.sh when this happens:

python3 -m venv env

the error is because I'm running on windows and symlinks aren't allowed in the home dir which is shared from the host windows box.

mount command reveals:

home_vagrant_magfest on /home/vagrant/magfest type vboxsf (uid=1000,gid=1000,rw)

So we gotta move the default vagrant install to a native linux FS somehow. or... don't use symlinks on windows. I'll check into it.

This also explains maybe why env/bin/python wasn't working for Vicki (also on Windows) but works fine for Eli (on linux).

binary1230 commented 10 years ago

https://www.virtualbox.org/ticket/10085

binary1230 commented 10 years ago

this might be the fix, testing: config.vm.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root", "1"]

binary1230 commented 10 years ago

ok I have the fix here though it's tangled up with some other stuff, I have to re-organize my branches and stuff. https://github.com/binary1230/magfest/commit/01d01a62a969dfff51ba338b95fa3b9d1859a957

EliAndrewC commented 9 years ago

No longer an issue on the new ubersystem-deploy