
Configuré CentOS 8 Stream con SELinux configurado en permissive
pero todavía tengo un montón de líneas rojas en el registro, por ejemplo:
SELinux is preventing /usr/lib/systemd/systemd from name_connect access on the tcp_socket port 80
¿Son reales o simplemente son impresiones? ¿Qué pasaría si estuviera en restrictive
modo?
Respuesta1
Según la documentación:
Cuando SELinux se ejecuta en modo permisivo, la política de SELinux no se aplica. El sistema permanece operativo y SELinux no niega ninguna operación, sino que solo registra mensajes AVC, que luego pueden usarse para solucionar problemas, depurar y mejorar las políticas de SELinux.
Ver también/etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=permissive