From nobody Thu Jul 28 00:17:42 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LtWSQ2Vprz4XDDb for ; Thu, 28 Jul 2022 00:17:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LtWSQ0NSCz3pQQ for ; Thu, 28 Jul 2022 00:17:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LtWSP6S2Gzbt9 for ; Thu, 28 Jul 2022 00:17:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 26S0HfQl003827 for ; Thu, 28 Jul 2022 00:17:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26S0Hf78003826 for bugs@FreeBSD.org; Thu, 28 Jul 2022 00:17:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 265472] /boot/loader: lua autoboot timer restarts if menu password is set Date: Thu, 28 Jul 2022 00:17:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: crahman@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658967462; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZCa4/TOZcLCOlZNkcYYkhE9QaH6ByDeuIPa/+ZyVs4k=; b=hOkmmiFj50Z5MR041/oDkxUA9xMDXZdB5ADHvFYCM1RWskDJdjULKea9rgGvt/abS3pnQM 3e806hrfqSmzqz52QkvSwkfRBceG1k5j99xvMwEqKiPlPhACCdaQOKd5xL5Nt7qKFKTQto o6he6hHAIa1meHColuzsfjon5RlX7pdUl09T/L7EGCtYUEDk3FOOlNWzvYq6h9C/3nR8tI eEUb5sKcs63HNfoxJmP1R1yh25HfJd0qcI5AFC9K63ygpT3tFsK8tJ5aeaRhiXZryGu9AQ O6nGkfwNKPiEgA9BRz/Mwa8fULobiRjKw8MOIx9W+Br4MS67+yFNwta0pVA69g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658967462; a=rsa-sha256; cv=none; b=yRAL97KQV8c2foRlar7KQd5Dtj6lVQ6OGvvOfdFQHgOSMsT3CbcoaFf1ATfauEeQKff9ZL kuXw9B/WI1vmRuWrBI3R4stSV+gOJ4w/2/D1Fa6XJBvwdwGqabBugZcFwCx/vLHK9qsmH+ y996borPUCEIaslYj5oiD2cPtMwHY12SXYsS+ED63b/2qMmj2NQHUJWb5j8WZL32sEIbHG KNH6gBkRXK86Ub+Lo3db6r93szoVkdOIhabm9uUhKwMCyz79pZwpQw9FZsfUUqPWEsvquU YUquwcY4PfiuFHKlaNnlLNS4ZGNUk+MdX+PhVpeCdBevpKfIFsNcwR2d2jgq9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=