[Bug 265472] /boot/loader: lua autoboot timer restarts if menu password is set

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 28 Jul 2022 00:17:42 UTC

            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=235517&action=edit
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 autoboot
and bring up the menu by entering a keyboard character before the timer

If this is done a prompt for the password is displayed.  Entering the password
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 system.

This is unexpected and not useful.

A patch to correct the problem is attached.

You are receiving this mail because:
You are the assignee for the bug.