Currently the sysctl(8) rc(8) service is limited to searching only
/etc/sysctl.conf, and /etc/sysctl.conf.local to configure kernel state
(Management Information Base (MIB)). The current limitation leads to
polluting /etc (for users' who prefer to leave /etc/ read-only), and
restricts users from codifying MIB namespace scope in sysctl.conf(5),
this prohibits a cleaner, and modular design to managing host MIB
information. Adding the ability to separate a machines MIB state across
any number of configuration files, under a user's chosen namespace
overcomes this limitation
- Add /etc/sysctl.conf.d to the sysctl(8) rc(8) service
- Add /etc/sysctl.conf.d to ${SRC}/etc/mtree/BSD.root.dist to tag the directory for the pkgbase FreeBSD-rc package
- Update stock sysctl.conf referring to /etc/sysctl.conf.d
- Update the sysctl.conf(5) man page to reflect the addition of /etc/sysctl.conf.d for modular MIB customizations, and complete the history
This patch is based on the original work (reviews.freebsd.org/D32128) by
Antranig Vartanian <antranigv@freebsd.am>
Relnotes: Yes