[Bug 265471] loader: /boot/lua/menu.lua boots kernel from original bootenv when bootenv is changed
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 265471] loader: /boot/lua/menu.lua boots kernel from original bootenv when bootenv is changed"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 265471] [PATCH] loader: /boot/lua/menu.lua boots kernel from original bootenv when bootenv is changed"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 265471] [PATCH] loader: /boot/lua/menu.lua boots kernel from original bootenv when bootenv is changed"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 265471] [PATCH] loader: /boot/lua/menu.lua boots kernel from incorrect bootenv when bootenv is changed"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 265471] [PATCH] loader: /boot/lua/menu.lua boots kernel from incorrect bootenv when bootenv is changed"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 265471] /boot/lua/menu.lua boots kernel from incorrect bootenv when bootenv is changed"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 265471] /boot/lua/menu.lua boots kernel from incorrect bootenv when bootenv is changed"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 265471] /boot/lua/menu.lua boots kernel from incorrect bootenv when bootenv is changed"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 265471] /boot/lua/menu.lua boots kernel from incorrect bootenv when bootenv is changed"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 265471] /boot/lua/menu.lua boots kernel from incorrect bootenv when bootenv is changed"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 265471] /boot/lua/menu.lua boots kernel from incorrect bootenv when bootenv is changed"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 265471] /boot/lua/menu.lua boots kernel from incorrect bootenv when bootenv is changed"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 265471] /boot/lua/menu.lua boots kernel from incorrect bootenv when bootenv is changed"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Jul 2022 23:47:44 UTC
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: bugs@FreeBSD.org Reporter: crahman@gmail.com 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 <kevans@FreeBSD.org> 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.