You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The console log directory defaults to /var/log/libvirt-consoles/. On CentOS 8 with SELinux enabled this causes VMs to fail to start, since virtlogd can't access the log file.
The text was updated successfully, but these errors were encountered:
require {
type var_log_t;
type virtlogd_t;
class capability { dac_override dac_read_search };
class dir { add_name remove_name write };
class file { create open unlink };
}
#============= virtlogd_t ==============
#!!!! This avc is allowed in the current policy
allow virtlogd_t self:capability { dac_override dac_read_search };
#!!!! This avc is allowed in the current policy
allow virtlogd_t var_log_t:dir { add_name remove_name write };
allow virtlogd_t var_log_t:file unlink;
#!!!! This avc is allowed in the current policy
allow virtlogd_t var_log_t:file { create open };
The console log directory defaults to
/var/log/libvirt-consoles/
. On CentOS 8 with SELinux enabled this causes VMs to fail to start, since virtlogd can't access the log file.The text was updated successfully, but these errors were encountered: