How to "partially disable" SELinux

There may be times where SELinux stops your application from functioning properly. Typically, this would manifest itself in behaviours such as system services refusing to start, or 500 errors when loading the SDElements Web UI in a browser.

If this happens, and you believe SELinux to be at fault, you can "partially disable" it as a quick workaround to restore your application to a working state.

To do this, simply edit the /etc/selinux/config file so that the "SELINUX=" value reads "permissive". 

NOTE: Under no circumstances should SELinux ever be set to "disabled", as this setting will completely disable the SELinux subsystem and as a result, may further break the application, as SELinux will no longer label files/folders with their appropriate contexts.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request