December 31, 2024

Selinux was invented by a sadistic sociopath

Selinux was invented by a sadistic sociopath

Do you know why the 1st thing I do when I install a brand new Linux box? I disable Selinux by changing its configuration file from enforcing to disabled. Lately, this the terminal, insatiable geniuses in Linux 'community' replaced that by kernel command line parameters.

Long story short, I was wise to gut Selinux. This bitch messes up everything it manages to touch with it sticky paws, namely Apache and PHP. Nobody says that in Linux manuals, but in order to have a working Wordpress site, you have to open Selinux for curl, and this becomes a tedious quest of finding the right answers because they hide in shadows. Through a lengthy process of debugging and experimentation sprinkled with shouting and tearing out hair, I found that it is normal for curl to work in the console but not on the web because Selinux does not allow Apache to reach out.

You could have opened firewall to the world, but Selinux will get you and bite you in the ass.

Kill this bitch whether you find it!

Posted by: LinuxLies at 03:35 PM | No Comments | Add Comment
Post contains 191 words, total size 1 kb.




What colour is a green orange?




15kb generated in CPU 0.0181, elapsed 0.0553 seconds.
35 queries taking 0.0492 seconds, 139 records returned.
Powered by Minx 1.1.6c-pink.