add /etc/system.d support
This adds support for kernel tunables via /etc/system.d. With this change modules can independently provide kernel customization in a simplified manner. Instead of modifying /etc/system file, each module can add a file in /etc/system.d directory. Thus distribution specific tunables are cleanly delineated from user settings. It also enables distributions to easily deliver tunables via patch if needed.
Updated by Andy Fiddaman 10 months ago
From Alexander Eremin:
Tested on OpenIndiana using various settings in /etc/system.d/*, also Nexenta have used this in production for some time.
I've done additional testing setting hires_tick to 1 and 0 in various combinations within
/etc/system.d/test and found that
/etc/system wins as expected. Also confirmed that changes to
/etc/system.d/test provoke boot archive updates on reboot.
boot -a and choosing
/dev/null for the system file properly ignores anything set in a fragment file as expected.
Updated by Electric Monk 10 months ago
- Status changed from Pending RTI to Closed
commit 2b987d42b0ad07d74e39b18a2498709e5195d7e3 Author: Alexander Eremin <email@example.com> Date: 2019-02-11T17:20:31.000Z 9696 add /etc/system.d support Portions contributed by: Andy Fiddaman <firstname.lastname@example.org> Reviewed by: Hans Rosenfeld <email@example.com> Reviewed by: Peter Tribble <firstname.lastname@example.org> Reviewed by: C Fraire <email@example.com> Reviewed by: Toomas Soome <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>