From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 15 01:10:09 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 790581065678 for ; Mon, 15 Aug 2011 01:10:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5662B8FC1D for ; Mon, 15 Aug 2011 01:10:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7F1A9jE025912 for ; Mon, 15 Aug 2011 01:10:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7F1A9iF025911; Mon, 15 Aug 2011 01:10:09 GMT (envelope-from gnats) Resent-Date: Mon, 15 Aug 2011 01:10:09 GMT Resent-Message-Id: <201108150110.p7F1A9iF025911@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Colin Percival Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EB59106567E for ; Mon, 15 Aug 2011 01:02:05 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 0E5B68FC08 for ; Mon, 15 Aug 2011 01:02:05 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p7F124xa031653 for ; Mon, 15 Aug 2011 01:02:04 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p7F124Zr031652; Mon, 15 Aug 2011 01:02:04 GMT (envelope-from nobody) Message-Id: <201108150102.p7F124Zr031652@red.freebsd.org> Date: Mon, 15 Aug 2011 01:02:04 GMT From: Colin Percival To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: bin/159775: handling of autoboot_delay="-1" has changed in 9.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2011 01:10:09 -0000 >Number: 159775 >Category: bin >Synopsis: handling of autoboot_delay="-1" has changed in 9.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 15 01:10:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Colin Percival >Release: 9.0-BETA1 >Organization: >Environment: FreeBSD 9.0-BETA1 >Description: The handling of autoboot_delay="-1" has changed with the new boot loader scripts. In /boot/defaults/loader.conf, the old behaviour is documented: #autoboot_delay="10" # Delay in seconds before autobooting, # set to -1 if you don't want user to be # allowed to interrupt autoboot process and # escape to the loader prompt, set to # "NO" to disable autobooting In the menu.4th man page, the new behaviour is documented: autoboot_delay Number of seconds menu-display will wait before executing menu_timeout_command (boot by default) unless a key is pressed. If set to ``NO'' (case-insensitive) or ``-1'', menu-display will wait for user input and never execute menu_timeout_command. Default is ``10''. See loader(8) for additional information. Note that "user can't interrupt boot process" and "menu-display will never execute menu_timeout_command" are nearly exact opposite behaviours. >How-To-Repeat: Set autoboot_delay="-1" on 9.0-BETA1. Be astonished by what happens. >Fix: Either change menu.4th to restore the old behaviour, or update the comments in /boot/defaults/loader.conf (and possibly add an entry to the release notes to warn users). >Release-Note: >Audit-Trail: >Unformatted: