The sysctl init script in openrc does this: for conf in /etc/sysctl.d/*.conf /etc/sysctl.conf; do .. apply the settings This means that files in /etc/sysctl.d/ can in fact not override things set in /etc/sysctl.conf (as /etc/sysctl.conf will be processed later and overwrite things). I think the order of files in the loop should be reversed, so that /etc/sysctl.conf is evaluated first, and /etc/sysctl.d/* are handled later. Reproducible: Always
This is fixed in commit 6ac182c. Thanks for the report.