SELinux日志主要查看方式如下:
/var/log/audit/audit.log
ausearch -m avc
grep "AVC"
journalctl -k | grep selinux
注意:查看日志可能需要root权限,建议定期清理旧日志以避免占用过多空间。