SELinux Troubleshooting¶
SELinux is installed and enabled by default on RedHat‑based Linux distributions (e.g., CentOS or Amazon Linux 2.0.2021x and lower). SELinux can also be installed on other Linux distributions, such as Debian or Ubuntu.
Check SELinux presence and status by executing the following command:
Automatic configuration¶
If the SELinux mechanism is enabled on a host with a filtering node, during node installation or upgrade, the all-in-one installer performs its automatic configuration for the node not to interfere with it.
This means, in most cases there will be no problems caused by SELinux.
Troubleshooting¶
If after automatic configuration you still experience the problems that can be caused by SeLinux:
-
The filter node's RPS (requests per second) and APS (attacks per second) values will not be exported to the Wallarm cloud.
-
It will not be possible to export filter node metrics to monitoring systems via the TCP protocol (see “Monitoring the Filter Node”).
-
Other possible problems.
Do the following:
-
Temporarily disable SELinux by executing the
setenforce 0
command.SELinux will be disabled until the next reboot.
-
Check whether the problem(s) disappeared.
-
Contact Wallarm's technical support for help.
SELinux permanent disabling not recommended
It is not recommended to disable SELinux permanently due to the security issues.