NetBSD Problem Report #38294

From martin@duskware.de  Tue Mar 25 13:11:51 2008
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 26B3363B8A5
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 25 Mar 2008 13:11:51 +0000 (UTC)
Message-Id: <20080325131148.B99E433AA3@mail.duskware.de>
Date: Tue, 25 Mar 2008 14:11:48 +0100 (CET)
From: martin@duskware.de
Reply-To: martin@duskware.de
To: gnats-bugs@gnats.NetBSD.org
Subject: sysinst upgrade installation may be improved
X-Send-Pr-Version: 3.95

>Number:         38294
>Category:       install
>Synopsis:       sysinst upgrade installation may be improved
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    install-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 25 13:15:00 +0000 2008
>Originator:     Martin Husemann
>Release:        NetBSD 4.99.58
>Organization:
The NetBSD Foundation
>Environment:
System: NetBSD sunny-weather.duskware.de 4.99.58 NetBSD 4.99.58 (SUNNY) #74: Tue Mar 25 13:49:05 CET 2008 martin@night-porter.duskware.de:/usr/src/sys/arch/sparc64/compile/SUNNY sparc64
Architecture: sparc64
Machine: sparc64
>Description:

Usually, when doing an upgrade installation via sysinst, there will be errors
in the "postinstall" phase (e.g. accounts the user is expected to create
manually). These are reported and scroll by, then in the end installation
stops due to errors, user does not see the real error messages any more,
and has to press enter to continue.

This is confusing and mostly useless. An experienced user will reboot the
system and run postinstall manually, capturing the output. We should do
better.

Besides, this happens very early in the installation, and after pressing
enter to continue there is a lot more sets to unpack typically.

>How-To-Repeat:
s/a

>Fix:
Capture postinstall output and offer a pager if exit status indicates failure?

Or even beter: log only the error messages separately. Then continue 
installation, and at the very end show the errors again and offer a shell
to fix. After returning from the shell, offer to run "postinstall check"
again, repeat untill user/postinstall are happy.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.