SELinux is not for everyone and it can cause headaches for certain applications. I’ve had trouble before with permission settings, checking, and rechecking my setup only to find that nothing was wrong at all, SELinux was blocking it and wasn’t configured.
Disabling or enabling it is easy though.
Check if your system has it on:
CODE |
cat /etc/selinux/config
# This file controls the state of SELinux on the system. |
Set it to whatever you want. After you do this, you must reboot.
If you don’t want to reboot, this is how you temporarily disable it, and you need to be root:
CODE |
echo 0 >/selinux/enforce |
Verify if it works by doing
CODE |
cat /selinux/enforce |
0 is disabled, 1 is enabled.