Date: Wed, 27 Jul 2022 23:47:44 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 265471] loader: /boot/lua/menu.lua boots kernel from original bootenv when bootenv is changed Message-ID: <bug-265471-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265471 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=3D235516&action= =3Dedit 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 load= er, 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 environm= ent is to provide a known good kernel and environment, well... I've attached a patch. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265471-227>