Did you know? Sysctl.d

Maybe I'll start making small posts like this, where I did a quick write up about a particular technology...we'll see how it works out...

Did you know that by default in RHEL, CentOS, Fedora, Amazon Linux that sysctl automatically evaluates files in /etc/sysctl.d - I found this out only after reading the bug report.

Apparently this code is in /etc/rc.sysinit, which will evaluate sysctl.d files. Though I have never seen /etc/sysctl.d directory from a default install. So if you have an application that needs changes made via sysctl then add that directory and have the application's configuration in there. Like so:

ls -la /etc/sysctl.d