Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2022 00:17:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 265472] /boot/loader: lua autoboot  timer restarts if menu password is set
Message-ID:  <bug-265472-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 265472
           Summary: /boot/loader: lua autoboot  timer restarts if menu
                    password is set
           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 235517
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D235517&action=
=3Dedit
After interrupting the autoboot timeout, prevent it from restarting.

In the lua loader, if one sets a password in loader.conf, the autoboot_delay
timer will start before the menu is displayed.  One can interrupt the autob=
oot
and bring up the menu by entering a keyboard character before the timer
expires.

If this is done a prompt for the password is displayed.  Entering the passw=
ord
will bring up the menu, but the timer will again start and another keyboard
character must be entered or autoboot will abort the menu and boot the syst=
em.

This is unexpected and not useful.

A patch to correct the problem is attached.

--=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-265472-227>