Symptoms¶
- The
inventory-apiservice fails to start on a RHEL 9 server. systemctl status inventory-apishowscode=exited, status=13/PERMISSION.- The binary at
/opt/inventory-api/bin/serverhas correct file permissions (755, owned by the service user). - Running the binary manually with
sudo -u inventory /opt/inventory-api/bin/serveralso fails with "Permission denied". - Running the same binary with
setenforce 0(permissive mode) allows it to start successfully. - The application was deployed to a new server with SELinux in enforcing mode.
- The previous server had SELinux disabled.