[Bug 296795] /boot/loader is no longer processing loader.conf.local on 15.1Stable

[email protected] Wed, 15 Jul 2026 01:13:31 +0000
Newsgroups gmane.os.freebsd.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296795

            Bug ID: 296795
           Summary: /boot/loader is no longer processing loader.conf.local
                    on 15.1Stable
           Product: Base System
           Version: 15.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]

In /boot/defaults/loader.conf the variable "loader_conf_files" no longer
includes "/boot/loader.conf.local", instead a new variable was introduced
local_loader_conf_files
which is handled in 
/usr/src/stand/lua/config.lua
by
local local_loader_conf_files = getEnv("local_loader_conf_files")

However, this variable is not processed by /boot/loader (loader.4th).

Workaround solution:
Append /boot/loader.conf.local to loader_conf_files by
sed -i '' -E '/^loader_conf_files=/s/(\.conf)\"$/\1
/boot/loader.conf.local\"/1' /boot/defaults/loader.conf

PS I'm migrating from 14.3 to 15.1.

-- 
You are receiving this mail because:
You are the assignee for the bug.