From owner-freebsd-bugs@FreeBSD.ORG Sun Apr 13 10:40:00 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.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 ESMTPS id B12EB2F5 for ; Sun, 13 Apr 2014 10:40:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8DE0D1077 for ; Sun, 13 Apr 2014 10:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3DAe0gm003357 for ; Sun, 13 Apr 2014 10:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3DAe0qG003356; Sun, 13 Apr 2014 10:40:00 GMT (envelope-from gnats) Resent-Date: Sun, 13 Apr 2014 10:40:00 GMT Resent-Message-Id: <201404131040.s3DAe0qG003356@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, Anselm Strauss Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CB05B2EF for ; Sun, 13 Apr 2014 10:39:06 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B8503106E for ; Sun, 13 Apr 2014 10:39:06 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s3DAd6tO076479 for ; Sun, 13 Apr 2014 10:39:06 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s3DAd6T2076470; Sun, 13 Apr 2014 10:39:06 GMT (envelope-from nobody) Message-Id: <201404131039.s3DAd6T2076470@cgiserv.freebsd.org> Date: Sun, 13 Apr 2014 10:39:06 GMT From: Anselm Strauss To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/188549: Improve installation on serial console X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2014 10:40:00 -0000 >Number: 188549 >Category: misc >Synopsis: Improve installation on serial console >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Apr 13 10:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Anselm Strauss >Release: 10.0-RELEASE-p1 >Organization: >Environment: FreeBSD heman 10.0-RELEASE-p1 FreeBSD 10.0-RELEASE-p1 #0: Tue Apr 8 06:45:06 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I have a PC Engines APU platform that has no video console but only a serial one. Although there is a brief documentation in the handbook on how to get the installation image working on the serial console (https://www.freebsd.org/doc/handbook/install-advanced.html) a lot of things are missing or troublesome to get a properly working system manageable over the serial console only: - Installation images have to be modified by hand to get serial console support - Serial console is not enabled in the installed system, making it unusable for me - Booting the installation image again and entering the rescue shell gives me no easy way to mount the installed system if it is on ZFS. Importing/exporting the pool is not very intuitive. - Enabling SSHD during installation is an option. Later you can login over network and fix the serial console. But this relies on configuring a non-root user during installation and giving him the wheel group, otherwise you can not become root on the installed system over SSH. >How-To-Repeat: - Install fresh system on hardware with serial console support, put root on ZFS and enable SSHD - Boot into the installed system, check serial console login - Reboot to rescue shell, try configuring serial console - Try logging in via SSHD, becoming root and configuring serial console >Fix: - Provide pre-built installation images with serial console support - Provide option in installer to enable serial console on installed system - Provide documentation on how to fix a system on ZFS with the rescue shell - Provide option/documentation on how to configure user(s) to be able to fix installed system via SSH >Release-Note: >Audit-Trail: >Unformatted: