cloudfoundry-attic / cfdev

A fast and easy local Cloud Foundry experience on native hypervisors, powered by LinuxKit with VPNKit
Apache License 2.0
227 stars 64 forks source link

Add warning when "SELinux" is set to "Enforcing" #108

Closed joaompinto closed 5 years ago

joaompinto commented 5 years ago

→ cat /etc/redhat-release Fedora release 30 (Thirty)

→ cf plugins Listing installed plugins...

plugin version command name command help cfdev 0.0.16 dev Start and stop a single vm CF deployment running on your workstation

-> cf dev start Downloading Resources... Progress: |====================>| 100.0% Setting State... Creating the VM... Starting the VM... Fetching VM Address... FAILED cf dev start: exit status 1

cf-gitbot commented 5 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/167725647

The labels on this github issue will be updated when the story is started.

joaompinto commented 5 years ago

I have found that the problem was related to SELinux preventing the "org.cloudfoundry.cfdev.linuxkit.service" to work was expected.
It sould be easy to check and warn about potential problems if selinux is enabled.

aemengo commented 5 years ago

Thank you for reporting the resolution to the issue. We will consider the product enhancement that you have suggested.