From owner-freebsd-sysinstall@FreeBSD.ORG Tue Mar 24 14:22:08 2015 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 23FD93B0 for ; Tue, 24 Mar 2015 14:22:08 +0000 (UTC) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0064.outbound.protection.outlook.com [157.56.111.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A8214EAA for ; Tue, 24 Mar 2015 14:22:06 +0000 (UTC) Received: from CO2PR0801MB663.namprd08.prod.outlook.com (10.141.247.26) by CO2PR0801MB0728.namprd08.prod.outlook.com (10.141.248.20) with Microsoft SMTP Server (TLS) id 15.1.118.21; Tue, 24 Mar 2015 14:21:58 +0000 Received: from [IPv6:2601:7:9f80:1000:76d0:2bff:fe32:3b90] (2601:7:9f80:1000:76d0:2bff:fe32:3b90) by CO2PR0801MB663.namprd08.prod.outlook.com (10.141.247.26) with Microsoft SMTP Server (TLS) id 15.1.118.21; Tue, 24 Mar 2015 14:21:55 +0000 Message-ID: <551172FC.1010508@panasas.com> Date: Tue, 24 Mar 2015 10:21:48 -0400 From: "Ellis H. Wilson III" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Subject: Re: RFC: Patches to achieve bsdinstall script without dialogs References: <54EF7B40.2030706@panasas.com> In-Reply-To: <54EF7B40.2030706@panasas.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [2601:7:9f80:1000:76d0:2bff:fe32:3b90] X-ClientProxiedBy: BY2PR04CA0082.namprd04.prod.outlook.com (10.255.247.50) To CO2PR0801MB663.namprd08.prod.outlook.com (10.141.247.26) Authentication-Results: freebsd.org; dkim=none (message not signed) header.d=none; X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:CO2PR0801MB663; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:CO2PR0801MB0728; X-Microsoft-Antispam-PRVS: X-Forefront-Antispam-Report: BMV:1; SFV:NSPM; SFS:(10009020)(6009001)(51704005)(479174004)(450100001)(77156002)(33656002)(54356999)(19580405001)(64126003)(65806001)(122386002)(65956001)(42186005)(83506001)(59896002)(62966003)(87266999)(40100003)(76176999)(2351001)(87976001)(50986999)(46102003)(5890100001)(110136001)(107886001)(2950100001)(1720100001)(77096005)(92566002)(23746002)(99136001)(47776003)(15975445007)(19580395003)(80316001)(50466002)(36756003)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR0801MB663; H:[IPv6:2601:7:9f80:1000:76d0:2bff:fe32:3b90]; FPR:; SPF:None; MLV:sfv; LANG:en; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(5002010); SRVR:CO2PR0801MB663; BCL:0; PCL:0; RULEID:; SRVR:CO2PR0801MB663; X-Forefront-PRVS: 0525BB0ADF X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Mar 2015 14:21:55.8885 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR0801MB663 X-OriginatorOrg: panasas.com X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 14:22:08 -0000 It's been about a month since I sent the below RFC. What is the best way to facilitate discussion about this or move towards committing these changes to the bsdinstall tool? Best, ellis On 02/26/15 15:00, Ellis H. Wilson III wrote: > All, > > We use FreeBSD extensively here at Panasas, and in our day-to-day > software development it behooves us to have an automatic way to spin up > our various clients with fresh installs. Occasionally, one of these > automated installs, which relies on the various components of > bsdinstall, bails, locks up, or otherwise malfunctions. At that > juncture, checking our console logs is our best/only recourse since > these are head-less machines, but the existing code presumes (even in > the case of scripted installs) dialog will render properly. This is > typically not the case in our live console or console logs for a variety > of reasons, and this results in our engineers wading through a lot of > dialog "curses-gunk" to find the relevant pieces of ascii that have made > their way through. > > Therefore, after positive discussion with Nathan Whitehorn about the > general utility of having an ascii-only install option, we have > implemented such and been running the attached patches for a few months > with success here. These enable a somewhat friendlier ASCII output when > scripted installation is requested, without sacrificing (most of) the > niceties of progress indication and the like. These also shouldn't > impact non-scripted installation, which still utilize dialogs. With the > ultimate hope of these being accepted upstream and benefiting others, I > am first presenting them here for your comment. These impact the > following files, and are named accordingly: > > usr.sbin/bsdconfig/share/common.subr > usr.sbin/bsdinstall/distextract/distextract.c > usr.sbin/bsdinstall/scripts/checksum > usr.sbin/bsdinstall/scripts/script > usr.sbin/bsdinstall/partedit/partedit.c > usr.sbin/bsdinstall/partedit/scripted.c > usr.sbin/bsdinstall/partedit/partedit.h > > These are patched from 10.1 releng, as that is what we are running. If > it will smooth the process towards upstreaming things, I can patch > against a different set of sources (i.e., CURRENT), just let me know. > > Best, > > ellis > > > _______________________________________________ > freebsd-sysinstall@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-sysinstall > To unsubscribe, send any mail to "freebsd-sysinstall-unsubscribe@freebsd.org" >