From nobody@FreeBSD.org  Sun Dec 16 09:14:43 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 1E7F63DA
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Dec 2012 09:14:43 +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 062128FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Dec 2012 09:14:43 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qBG9Egot014272
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Dec 2012 09:14:42 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id qBG9Eg7U014271;
	Sun, 16 Dec 2012 09:14:42 GMT
	(envelope-from nobody)
Message-Id: <201212160914.qBG9Eg7U014271@red.freebsd.org>
Date: Sun, 16 Dec 2012 09:14:42 GMT
From: Oleg Pudeyev <oleg@bsdpower.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: bsdinstall should remember user input
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         174475
>Category:       bin
>Synopsis:       bsdinstall(8): should remember user input
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-sysinstall
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 16 09:20:00 UTC 2012
>Closed-Date:    
>Last-Modified:  Sun Dec 16 23:00:00 UTC 2012
>Originator:     Oleg Pudeyev
>Release:        9.1-release
>Organization:
>Environment:
Not installed yet
>Description:
Trying to install freebsd 9.1.

When bsdinstall fails to do something, it throws away input I previously gave to it.

Specifically if it fails during distribution extraction, it resets:

- distribution selection
- partition selection

Curiously it keeps keyboard layout and hostname. Maybe because it retrieves those from OS rather than keeping track of them itself.

bsdinstall should store all input I gave to it and apply it before prompting me with dialogs that I already responded to.

Also, it should not restart from the beginning when a step fails but only restart that step.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-sysinstall 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Sun Dec 16 15:27:01 UTC 2012 
Responsible-Changed-Why:  
over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174475 

From: Devin Teske <devin.teske@fisglobal.com>
To: <bug-followup@FreeBSD.org>, <oleg@bsdpower.com>
Cc: Devin Teske <dteske@freebsd.org>
Subject: Re: bin/174475: bsdinstall(8): should remember user input
Date: Sun, 16 Dec 2012 14:49:47 -0800

 I'm working on a new engine for bsdinstall. I got to a stable state on the =
 new/shiny back-end today and (like sysinstall -- the basis for the new engi=
 ne) it remembers user input _and_ only re-performs failed steps.
 
 I started work on the new engine in November and expect to demonstrate it l=
 ive in-action at BSDCan 2013 (May next year).
 
 At that time, this PR should be re-evaluated.
 --=20
 Devin
 
 _____________
 The information contained in this message is proprietary and/or confidentia=
 l. If you are not the intended recipient, please: (i) delete the message an=
 d all copies; (ii) do not disclose, distribute or use the message in any ma=
 nner; and (iii) notify the sender immediately. In addition, please be aware=
  that any message addressed to our domain is subject to archiving and revie=
 w by persons other than the intended recipient. Thank you.
>Unformatted:
