From owner-freebsd-bugs Sun Aug 25 23:20:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3901E37B400 for ; Sun, 25 Aug 2002 23:20:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E04743E42 for ; Sun, 25 Aug 2002 23:20:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7Q6K2JU063450 for ; Sun, 25 Aug 2002 23:20:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7Q6K2UL063449; Sun, 25 Aug 2002 23:20:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E46A37B400 for ; Sun, 25 Aug 2002 23:12:07 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F01C43E6A for ; Sun, 25 Aug 2002 23:12:07 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g7Q6C6OT039692 for ; Sun, 25 Aug 2002 23:12:06 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g7Q6C6iC039691; Sun, 25 Aug 2002 23:12:06 -0700 (PDT) Message-Id: <200208260612.g7Q6C6iC039691@www.freebsd.org> Date: Sun, 25 Aug 2002 23:12:06 -0700 (PDT) From: Adi To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: i386/42022: sysinstall in non-interactive mode prompts when only a serial console is present Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42022 >Category: i386 >Synopsis: sysinstall in non-interactive mode prompts when only a serial console is present >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: Sun Aug 25 23:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Adi >Release: 4-STABLE >Organization: >Environment: FreeBSD rlx5 4.6-STABLE FreeBSD 4.6-STABLE #1: Sat Aug 24 01:26:53 PDT 2002 aditya@six:/usr/obj/usr/src/sys/RLX i386 >Description: when doing a non-interactive PXE install onto a machine with just a serial console (using set console=comconsole in loader.rc) sysinstall prompts for the terminal type -- if non-interactive, it should use a default terminal type >How-To-Repeat: do a non-interactive PXE install as per Alfred Perlstein's PXE install instructions onto a machine with no video card >Fix: under 4-STABLE, /usr/src/release/sysinstall/termcap.c the prompt_term function should check if the install is non-interactive and RunningAsInit is true and in that case just use the default ANSI compatible term type -- it should be pretty simple, but I am not able to understand the way variable_get(VAR_NONINTERACTIVE) works to put in the test myself. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message