[Bug 235040] Lua-based loader(8) does not pick up /boot/loader.rc.local

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 18 16:16:55 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235040

Kyle Evans <kevans at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |imp at FreeBSD.org

--- Comment #1 from Kyle Evans <kevans at freebsd.org> ---
(In reply to Alexey Dokuchaev from comment #0)

Hi,

Indeed, because reading loader.rc.local is a little bit of a rabbit hole. We
could try to have some limited support by trying to process loader.rc.local as
a series of loader commands, but the file is historically parsed as 4th so we
can't claim to completely support it.

The loader-independent way to do this is probably best done with the `exec`
loader.conf(5) variable. e.g.

exec="gop set 0"
exec="gop set 2"
...

but ideally we would have loader.conf(5) variables for these kinds of things to
trim down the interpreter-dependent things being done by a standard
sysadmin/user that isn't trying to modify core boot/menu behavior.

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


More information about the freebsd-bugs mailing list