https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265471
Bug ID: 265471
Summary: loader: /boot/lua/menu.lua boots kernel from original
bootenv when bootenv is changed
Product: Base System
Version: 13.1-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
Created attachment 235516
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235516&action=edit
Unload any previously loaded kernel when changing boot environment.
Related to a bug fixed by Kyle Evans <[email protected]> in commit
e414851f3eb7a9dd2af8209eac4ada307cb6ff8e, if a password is set for the loader,
when the boot environment is changed in the lua menu, the kernel originally
loaded before the menu was brought up is booted in the new boot environment.
Since the kernel directory isn't mounted, this prevents modules from being
loaded during boot. In addition, if the reason for using the boot environment
is to provide a known good kernel and environment, well...
I've attached a patch.
--
You are receiving this mail because:
You are the assignee for the bug.