Coder Social home page Coder Social logo

Comments (14)

AntonioMeireles avatar AntonioMeireles commented on May 29, 2024

@piepkrak

Hi! could you please paste here your existing /etc/exports ?. For some reason it isn't passing our smoke tests... And many thanks!

from kube-solo-osx.

westende avatar westende commented on May 29, 2024

Hi! Hereby my /etc/exports file. I changed the names of projects for privacy reasons

# VAGRANT-END: 1296 c54aa86a-465e-4f78-9aad-48a29863e115
# VAGRANT-BEGIN: 1296 15ac914e-c8b3-46ed-8941-0350ba2bd05e
"/Users/user/projects/vagrant/name/www" 192.168.33.10 -alldirs -mapall=1296:20
# VAGRANT-END: 1296 15ac914e-c8b3-46ed-8941-0350ba2bd05e
# VAGRANT-BEGIN: 1296 a52297b2-6b9c-469f-9c0b-188a0dae00a5
"/Users/user/projects/vagrant/name/www" 192.168.33.10 -alldirs -mapall=1296:20
# VAGRANT-END: 1296 a52297b2-6b9c-469f-9c0b-188a0dae00a5
# VAGRANT-BEGIN: 1296 c54aa86a-465e-4f78-9aad-48a29863e115
"/Users/user/projects/vagrant/name-name-name/www" 192.168.33.30 -alldirs -mapall=1296:20
# VAGRANT-END: 1296 c54aa86a-465e-4f78-9aad-48a29863e115
# VAGRANT-BEGIN: 1296 7682421c-c919-42b5-9610-820797c79b01
"/Users/user/projects/vagrant/name/www" 192.168.33.10 -alldirs -mapall=1296:20
# VAGRANT-END: 1296 7682421c-c919-42b5-9610-820797c79b01
# VAGRANT-BEGIN: 1296 4ae87ab9-16c5-424f-94a4-20ebce7e2c4b
"/Users/user/projects/vagrant/name/application" 192.168.33.20 -alldirs -mapall=1296:20
# VAGRANT-END: 1296 4ae87ab9-16c5-424f-94a4-20ebce7e2c4b
# VAGRANT-BEGIN: 1296 f22e491f-73b1-47bc-8668-a25cc0f7ed69
"/Users/user/projects/vagrant/name/simplesamlphp" 192.168.33.10 -alldirs -mapall=1296:20
"/Users/user/projects/vagrant/name/www" 192.168.33.10 -alldirs -mapall=1296:20
# VAGRANT-END: 1296 f22e491f-73b1-47bc-8668-a25cc0f7ed69

from kube-solo-osx.

wstrange avatar wstrange commented on May 29, 2024

FWIW, I also had an issue with kube-solo and my /etc/exports. The install would bomb out.

In my case I just discarded the entry that Vagrant put in - so I don't have it anymore. I suspect there is an issue parsing the format.

from kube-solo-osx.

wstrange avatar wstrange commented on May 29, 2024

A lateral thought...

Is sudo needed just for /etc/exports?

It might be better to not save the sudo password. The user presumably would need to provide it once to fix up exports - but after that it should not be needed. Might be safer.

from kube-solo-osx.

rimusz avatar rimusz commented on May 29, 2024

@wstrange sudo password is needed for corectl/xhyve to boot VMs

from kube-solo-osx.

AntonioMeireles avatar AntonioMeireles commented on May 29, 2024

@piepkrak

the issue here is that corectl expects to be able to export via NFS ${HOME} and that fails because a subdir (actually in your case, quite a few ones) of it is already set as exported (via Vagrant). Unless there is a way,in OS X, that i'm unware of, of exporting at same time both a dir and a subdir of it, i think that the best i can do here is just print a more meaningfull failure message telling that we're unable to export ${HOME} because some dir inside it is already exported.

from kube-solo-osx.

rimusz avatar rimusz commented on May 29, 2024

@AntonioMeireles such message would be really nice to have and then the VM's boot should continue

from kube-solo-osx.

AntonioMeireles avatar AntonioMeireles commented on May 29, 2024

@rimusz,
long(er) story short - having a warning/check is a good thing to have, OTOH allowing VMs to boot without ${HOME} being properly exported on host tricky as a lot of functionality ends depending on just that ... Will need a carefull deep look.

from kube-solo-osx.

westende avatar westende commented on May 29, 2024

@AntonioMeireles Thank you for the explanation. I've never encountered this before. Will just swap the /etc/exports files for now.

from kube-solo-osx.

davidmankin avatar davidmankin commented on May 29, 2024

Thanks. This bit me too because I use Vagrant. Would be nice to be able to make a special dir not under my homedir and export that to avoid conflicts.

from kube-solo-osx.

rimusz avatar rimusz commented on May 29, 2024

@AntonioMeireles is working on some solution :)

from kube-solo-osx.

elementalvoid avatar elementalvoid commented on May 29, 2024

In my case the conflict is with https://github.com/nlf/dlite.

# BEGIN: dlite
/Users -network 192.168.64.0 -mask 255.255.255.0 -alldirs -maproot=root:wheel                                                                                   
# END: dlite

from kube-solo-osx.

cmoad avatar cmoad commented on May 29, 2024

I'm also experiencing a conflict with dlite as mentioned by @elementalvoid.

from kube-solo-osx.

rimusz avatar rimusz commented on May 29, 2024

@piepkrak NFS is disabled, so should not be the issue anymore

from kube-solo-osx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.