BerlinVagrant / vagrant-dns

A plugin to manage DNS records for vagrant environments
MIT License
490 stars 50 forks source link

Vagrant errors when `~/.vagrant.d/tmp/dns` created with sudo #5

Closed patcon closed 11 years ago

patcon commented 12 years ago

At least in my case, the first command run is:

$ rvmsudo bundle exec vagrant dns --install

This leads to the tmp dir being owned by root, and so subsequent vagrant ups fail when ~/.vagrant.d/tmp/dns/resolver/dev is not accessbile.

Running vagrant dns --restart first seems to avoid it, but may be worth investigating this pain point.

Cheers and thanks again!

sheerun commented 11 years ago

The same. What's the status?

patcon commented 11 years ago

fwiw I moved to vagrant-hostmaster, as it seemed a path more likely to support windows going forward, and it also seemed to involve less moving parts that might fail (dns server would mysteriously fail ever so often) https://github.com/mosaicxm/vagrant-hostmaster

lynndylanhurley commented 11 years ago

I'm having the same issue. Status?

sheerun commented 11 years ago

I wrote a pull-request and it's waiting to be merged... #12

lynndylanhurley commented 11 years ago

@sheerun - I just pulled from your fork, I can confirm that it works. Thanks!