Actuallty looking at the code this time, yep it (procps sysctl) does do that and reads them in order of precedence of the directories. I think procps may have the order different though as /run is before /etc. The sysctl.d man page is actually confusing so it's hard to say.
- Craig On Thu, 6 Feb 2020 at 22:17, Craig Small <csm...@debian.org> wrote: > On Fri, 7 Dec 2018 at 07:42, Josh Triplett <j...@joshtriplett.org> wrote: > >> Package: procps >> Version: 2:3.3.15-2 >> Severity: normal >> File: /etc/sysctl.d/protect-links.conf >> >> protect-links.conf is supplied by Debian, and should be in >> /usr/lib/sysctl.d/ ; the sysadmin can still override it by creating >> /etc/sysctl.d/protect-links.conf . >> > That's not actually how the procps version of sysctl works. It reads all > of the directories. So looks like we have a bigger problem here as the > systemd version does something different to the procps version. > > - Craig >