-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
To fix #21548 we removed the kvm driver console log in #21550. We want to have this log to make it easier to debug boot issues. The way to have a log is to add custom selinux policy add-on for minikube to define a new minikube specific location in which 'virtlogd_t' is permitted to store log files.
Minikube uses MINIKUBE_HOME (default ~/.minikube) but we cannot add a policy allowing 'virtlogd_t' to store logs everywhere. We can support the default location, and provide instructions for creating a selinux policy with a different location for user that must use non-default location.
To make this easy to use, the console log should be optional. Users that want to allow it should enable it and change selinux to permissive mode, or install the selinux policy allowing the log.
Fedora bug:
https://bugzilla.redhat.com/show_bug.cgi?id=2394975#c6