Open
Description
General information
- OS: Linux
- Hypervisor: KVM
- Did you run
crc setup
before starting it (Yes/No)? Yes
CRC version
CodeReady Containers version: 1.23.1+be17b141
OpenShift version: 4.7.0 (embedded in executable)
CRC status
CRC VM: Running
OpenShift: Unreachable (v4.7.0)
Disk Usage: 12.24GB of 32.74GB (Inside the CRC VM)
Cache Usage: 13.01GB
Cache Directory: /home/harald/.crc/cache
CRC config
- consent-telemetry : yes
- memory : 16384
- pull-secret-file : /home/harald/bin/pull-secret
Host Operating System
NAME="Linux Mint"
VERSION="20.1 (Ulyssa)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 20.1"
VERSION_ID="20.1"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=ulyssa
UBUNTU_CODENAME=focal
Steps to reproduce
- crc start
Expected
CRC should start but doesn't
Actual
crc start
terminates with
INFO CodeReady Containers VM is running
INFO Starting network time synchronization in CodeReady Containers VM
Error running post start: exit status 1
Logs
IMHO relevant part of the log is:
Running '/home/harald/.crc/bin/admin-helper-linux rm api.crc.testing oauth-openshift.apps-crc.testing console-openshift-console.apps-crc.testing default-route-openshift-image-registry.apps-crc.testing'
Command failed: exit status 1
Trying to run the command manually:
$ /home/harald/.crc/bin/admin-helper-linux rm api.crc.testing oauth-openshift.apps-crc.testing console-openshift-console.apps-crc.testing default-route-openshift-image-registry.apps-crc.testing
Error: host file not writable, try running with elevated privileges
host file not writable, try running with elevated privileges
admin-helper-linux has SUID flag set:
$ ls -l /home/harald/.crc/bin/admin-helper-linux
-r-s--x--- 1 root harald 3256320 Mär 17 17:11 /home/harald/.crc/bin/admin-helper-linux
$ ls -l /etc/hosts
-rw-r--r-- 1 root root 533 Mär 17 17:45 /etc/hosts
If I modify permissions of /etc/hosts from 644 to 666 it works ...
Activity