Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crc start fails after crc stop (hosts file not readable/writeable) #513

Closed
jr00n opened this issue Aug 29, 2019 · 3 comments
Closed

crc start fails after crc stop (hosts file not readable/writeable) #513

jr00n opened this issue Aug 29, 2019 · 3 comments

Comments

@jr00n
Copy link

jr00n commented Aug 29, 2019

Today uses crc init and crc start, crc stop

after a few hours would use crc start, but it's not working anymore

INFO Checking if oc binary is cached
INFO Checking if HyperKit is installed
INFO Checking if crc-driver-hyperkit is installed
INFO Checking file permissions for /etc/resolver/testing
INFO Checking file permissions for /etc/hosts
FATA /etc/hosts is not readable/writable by the current user

version: 1.0.0-beta.3-4.1.11+e97bf65

@praveenkumar
Copy link
Member

@jr00n Did you try to use crc setup before crc start ?

@gbraad
Copy link
Contributor

gbraad commented Aug 30, 2019

FATA /etc/hosts is not readable/writable by the current user

this is a check we perform and it fails, saying it does not find the correct permissions. This file needs to be writable by the current user to overcome and issue with oc: openshift/origin#23266

As mentioned, please run crc setup

@jr00n
Copy link
Author

jr00n commented Sep 2, 2019

@jr00n Did you try to use crc setup before crc start ?

Yes i did...i called crc init, but i ment crc setup. After running crc setup again today, i worked again. Thanks

@jr00n jr00n closed this as completed Sep 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants