[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#279213: marked as done (No 2nd stage after installation with netinst CD using network-console)



Your message dated Thu, 11 Nov 2004 00:40:06 +0100
with message-id <200411110040.06341.aragorn@tiscali.nl>
and subject line #279213: No 2nd stage after installation with netinst CD using network-console
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 31 Oct 2004 16:23:48 +0000
>From aragorn@tiscali.nl Sun Oct 31 08:23:48 2004
Return-path: <aragorn@tiscali.nl>
Received: from (elrond.fjphome.nl) [195.240.184.66] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1COIUe-0003kX-00; Sun, 31 Oct 2004 08:23:48 -0800
Received: from strider.fjphome.nl ([10.19.66.86] ident=fjp)
	by elrond.fjphome.nl with esmtp (Exim 3.35 #1 (Debian))
	id 1COIU9-0008UY-00
	for <submit@bugs.debian.org>; Sun, 31 Oct 2004 17:23:17 +0100
From: Frans Pop <aragorn@tiscali.nl>
To: submit@bugs.debian.org
Subject: No 2nd stage after installation with netinst CD using network-console
Date: Sun, 31 Oct 2004 17:23:18 +0100
User-Agent: KMail/1.6.2
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-Id: <200410311723.18767.aragorn@tiscali.nl>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.3 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	SUBJ_HAS_UNIQ_ID autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: debian-installer
Severity: important

There are two separate problems which result in a broken installation if a 
user uses network-console during 1st stage installation after booting 
with the netinst CD.
(If I install using a businesscard CD, the installation runs fine.)

This was tested using i386 netinst CD (daily build from 20041029).
Procedure:
- boot qemu using netinst CD debconf/priority=medium
- proceed in qemu; select network-console in 'Load installer components'
- configure network, configure network-console
- log into installer using ssh from terminal on normal machine
- continue rest of 1st stage installation from ssh

After 'rebooting' the installed system in qemu, I only get a login prompt 
(base-config is not run because /etc/inittab is not modified for that).
Also, I can not login to the system using ssh (as ssh is not installed).

PROBLEM 1
=========
The prebaseconfig script from network-console fails quietly because the 
command 'apt-install network-console-config' fails as this package and 
ssh (on which it depends) are not available on the netinst CD.

PROBLEM 2
=========
Syslog shows:
   info: Running /usr/lib/prebaseconfig.d/90prepare-base-config
   warning: /usr/lib/prebaseconfig.d/90prepare-base-config returned \
   error code 1

I have not yet traced the exact cause of this error (will try to follow up 
later), but the result is that /etc/inittab is not configured to run 
base-config.
I think this is a structural problem when prebaseconfig is run from ssh 
that has been overlooked until now.

SOLUTION
========
- network-console's prebaseconfig script should test the result of
  apt-install and display a message (probably suggesting to run
  base-config from the machine's console) if it failed
- prepare-base-config should be fixed to not fail when prebaseconfig
  is run from ssh

However, this would probably result in base-config being started after the 
reboot, which is not what we want (we want it to be run from ssh if 
possible). So we need the following additional changes:
- network-console's prebaseconfig script should set a flag somewhere that
  indicates if network-console-config and ssh were installed correctly
- prepare-base-config should test this flag and _not_ modify /etc/inittab
  if and only if network-console-config and ssh were installed correctly

I'm not sure if network-console-config and ssh should be included on the 
netinst CD, but I guess they should both be included on the first full CD 
in an official set.

---------------------------------------
Received: (at 279213-done) by bugs.debian.org; 10 Nov 2004 23:40:36 +0000
>From aragorn@tiscali.nl Wed Nov 10 15:40:36 2004
Return-path: <aragorn@tiscali.nl>
Received: from (elrond.fjphome.nl) [195.240.184.66] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CS24q-0003ng-00; Wed, 10 Nov 2004 15:40:36 -0800
Received: from strider.fjphome.nl ([10.19.66.86] ident=fjp)
	by elrond.fjphome.nl with esmtp (Exim 3.35 #1 (Debian))
	id 1CS24L-0002ey-00
	for <279213-done@bugs.debian.org>; Thu, 11 Nov 2004 00:40:05 +0100
From: Frans Pop <aragorn@tiscali.nl>
To: 279213-done@bugs.debian.org
Subject: #279213: No 2nd stage after installation with netinst CD using network-console
Date: Thu, 11 Nov 2004 00:40:06 +0100
User-Agent: KMail/1.6.2
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-Id: <200411110040.06341.aragorn@tiscali.nl>
Delivered-To: 279213-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-0.3 required=4.0 tests=BAYES_00,SUBJ_HAS_UNIQ_ID 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

This was included in version 1.06.
Not sure why it was not closed automatically.

prebaseconfig (1.06) unstable; urgency=low

  * Joshua Kwan
    - remove myself from Uploaders, I no longer have time to help out with
      this package.
  * Frans Pop
    - restructure 90prepare-base-config into functions
    - do not modify /etc/inittab if installation is run over SSH and
      package network-console-config has been installed
    - use only first PID if there is more than one debian-installer
      process to determine console in 90prepare-base-config
      (there can be more than one if installing over SSH)
    - Closes #279213
  * Updated translations: 
    - Finnish (fi.po) by Tapio Lehtonen
    - Russian (ru.po) by Yuri Kozlov

 -- Joey Hess <joeyh@debian.org>  Mon,  1 Nov 2004 12:19:22 -0500



Reply to: