From owner-freebsd-current@FreeBSD.ORG Sun Nov 3 18:58:54 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4500B92D; Sun, 3 Nov 2013 18:58:54 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 023BE2CC5; Sun, 3 Nov 2013 18:58:53 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 9704F125BA; Mon, 4 Nov 2013 04:58:51 +1000 (EST) Received: from Peters-MacBook-Pro.local (c-67-161-27-37.hsd1.ca.comcast.net [67.161.27.37]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BPO68540 (AUTH peterg@ptree32.com.au); Mon, 4 Nov 2013 04:58:47 +1000 Message-ID: <52769CFE.5080707@freebsd.org> Date: Sun, 03 Nov 2013 10:59:10 -0800 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Nathan Whitehorn Subject: Re: [CFT] bsdinstall and zfsboot enhancements References: <5275C597.6070702@freebsd.org> <97944047-D575-4E2E-B687-9871DFE058E3@fisglobal.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Michael Dexter , Devin Teske , "Teske, Devin" , " Current" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Nov 2013 18:58:54 -0000 >> Peter, can you restate the problem for Nathan so that we can >> maybe find a better home for this change? or perhaps more clearly >> define (than I) how we arrived at the code for the bhyve work? The issue is that /etc/ttys is static. Serial console installs assume that the user knows that the file should be edited manually to enable getty on the serial port. This seems at odds with a server o/s :( The suggestion I brought up with Devin was to see if the install was done on a serial port, and if so, then ask if the user wanted to enable a getty on that terminal. I think the patch might need some work: for instance, a sysctl could be used to see if the console is on a ttyu* device, and only enable for that and not for all ttys. I was going to try it out this weekend but was a bit slow off the mark :) > So I guess the real problem here is that init does not know enough to > start a login prompt on the console. This has irritated me for a while > actually. Maybe that should be fixed? The "console" entry, which would > always automatically work, in /etc/ttys is marked off, which apparently > happened in the runup to 4.0. It might be time to revisit that. That's also not good :( /dev/console is assumed to be a sink for log messages and not really an interactive tty. later, Peter.