diff options
author | Stéphane Rochoy <stephane.rochoy@stormshield.eu> | 2023-12-21 14:05:58 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2024-02-02 19:04:57 +0000 |
commit | c475e61f66fe8fe939e18ec7821c2340569f3271 (patch) | |
tree | 06ad7f7c0d5573ad1d995f39c37a4d208a9803b1 /UPDATING | |
parent | c343eedc6db381ac76e489f8ae0304898b71c5db (diff) | |
download | src-c475e61f66fe8fe939e18ec7821c2340569f3271.tar.gz src-c475e61f66fe8fe939e18ec7821c2340569f3271.zip |
stand/lua: always allow overriding with local config files
Loader now also read configuration files listed in local_loader_conf_files.
Files listed here are the last ones read. And /boot/loader.conf.local was
moved from loader_conf_files to local_loader_conf_files leaving only
loader.conf and device.hints in loader_conf_files by default.
The idea is to ensure local_loader_conf_files, i.e., /boot/loader.conf.local,
can always be used to override other user defined settings.
So the sequencing is now as follow:
1. Bootstrap:
/boot/defaults/loader.conf
2. Read loader_conf_files files:
/boot/device.hints
/boot/loader.conf
3. Read loader_conf_dirs files:
/boot/loader.conf.d/*.conf
4. And finally, rread local_loader_conf_files files:
/boot/loader.conf.local
Reviewed by: imp, kevans
Pull Request: https://github.com/freebsd/freebsd-src/pull/759
Diffstat (limited to 'UPDATING')
-rw-r--r-- | UPDATING | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -27,6 +27,27 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 15.x IS SLOW: world, or to merely disable the most expensive debugging functionality at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20240202: + Loader now also read configuration files listed in local_loader_conf_files. + Files listed here are the last ones read. And /boot/loader.conf.local was + moved from loader_conf_files to local_loader_conf_files leaving only + loader.conf and device.hints in loader_conf_files by default. + + The following sequencing is applied: + + 1. Bootstrap: + /boot/defaults/loader.conf + + 2. Read loader_conf_files files: + /boot/device.hints + /boot/loader.conf + + 3. Read loader_conf_dirs files: + /boot/loader.conf.d/*.conf + + 4. And finally, rread local_loader_conf_files files: + /boot/loader.conf.local + 20240201: sendmail 8.18.1 has been imported and merged. This version enforces stricter RFC compliance by default, especially with respect to line |