Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2023 04:15:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 265471] /boot/lua/menu.lua boots kernel from incorrect bootenv when bootenv is changed
Message-ID:  <bug-265471-227-bdf1tGPPol@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-265471-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-265471-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265471

--- Comment #8 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D7e5811f76bb0df289b32144849331a2db=
83ac718

commit 7e5811f76bb0df289b32144849331a2db83ac718
Author:     Cyrus Rahman <crahman@gmail.com>
AuthorDate: 2023-04-16 02:27:53 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2023-04-20 04:15:15 +0000

    loader: lua: unload the kernel when changing BEs

    Usually the kernel is loaded later, but there are circumstances where it
    could have been loaded earlier than changing BEs.  Unload anything that
    is already there so that we know we're using artifacts from the proper
    environment.

    PR:             265471
    Reviewed by:    kevans
    MFC after:      3 days

    (cherry picked from commit d7584aa09fcf8d96544e5bfb3ea78f50d7720c0c)

 stand/lua/menu.lua | 3 +++
 1 file changed, 3 insertions(+)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265471-227-bdf1tGPPol>