This article describes the most common issues with the servers running on SELinux. It also contains tips for solving these issues.
We assume that the MapTiler Server has been successfully installed, if not, please follow How to run MapTiler Server on Linux. Following article use RHEL-8.2. as the reference system.
Issues with FUSE
If starting your server results in errors like this:
You have to fix your FUSE setup. On reference system, this was easy to fix just with fuse install:
In case you are not able to fix your FUSE setup, you can try to run the server this way
Issues with tiles rasterization
Rasterization library we use in MapTiler Server requires
execheap memory access. If your server is crashing with error similar to:
it means that SELinux policies are preventing MapTiler Server from using this access mode.
Like with any other SELinux issues, checking the systemd journal can be helpful:
You will find here something like:
You can disable this policy with:
Or with help from utils you can create a local policy module to allow this access:
You can try turning the SELinux off. But this is usually not what you want to do in production.