# 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
根据文档:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/using_selinux/changed-selinux-states-and-modes_using-selinux
另见
/etc/selinux/config