Debian Bug report logs - #686373
Guests should spawn a getty on hvc0

version graph

Package: xen-tools; Maintainer for xen-tools is Axel Beckert <abe@debian.org>; Source for xen-tools is src:xen-tools.

Reported by: Ian Jackson <Ian.Jackson@eu.citrix.com>

Date: Fri, 31 Aug 2012 17:12:02 UTC

Severity: normal

Tags: moreinfo

Found in version xen-tools/4.2-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Axel Beckert <abe@debian.org>:
Bug#686373; Package xen-tools. (Fri, 31 Aug 2012 17:12:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ian Jackson <Ian.Jackson@eu.citrix.com>:
New Bug report received and forwarded. Copy sent to Axel Beckert <abe@debian.org>. (Fri, 31 Aug 2012 17:12:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Ian Jackson <Ian.Jackson@eu.citrix.com>
To: submit@bugs.debian.org
Subject: Guests should spawn a getty on hvc0
Date: Fri, 31 Aug 2012 17:55:29 +0100
Package: xen-tools
Version: 4.2-1

After installing a squeeze guest, I don't get a login prompt on the
console.  I have to add this to inittab:

xc:2345:respawn:/sbin/getty 38400 hvc0

Ian.



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#686373; Package xen-tools. (Fri, 31 Aug 2012 18:09:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Axel Beckert <abe@debian.org>:
Extra info received and forwarded to list. (Fri, 31 Aug 2012 18:09:02 GMT) Full text and rfc822 format available.

Message #10 received at 686373@bugs.debian.org (full text, mbox):

From: Axel Beckert <abe@debian.org>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>, 686373@bugs.debian.org
Subject: Re: Bug#686373: Guests should spawn a getty on hvc0
Date: Fri, 31 Aug 2012 20:07:55 +0200
Hi Ian,

Ian Jackson wrote:
> Package: xen-tools
> Version: 4.2-1
> 
> After installing a squeeze guest,

Based on the version of xen-tools, your are using Squeeze as Dom0,
too, right?

> I don't get a login prompt on the
> console.  I have to add this to inittab:
> 
> xc:2345:respawn:/sbin/getty 38400 hvc0

Hrm, can't remember having had that issue so far and I should have run
into that quite often. Will check.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



Information forwarded to debian-bugs-dist@lists.debian.org, Axel Beckert <abe@debian.org>:
Bug#686373; Package xen-tools. (Wed, 05 Sep 2012 14:57:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ian Jackson <Ian.Jackson@eu.citrix.com>:
Extra info received and forwarded to list. Copy sent to Axel Beckert <abe@debian.org>. (Wed, 05 Sep 2012 14:57:03 GMT) Full text and rfc822 format available.

Message #15 received at 686373@bugs.debian.org (full text, mbox):

From: Ian Jackson <Ian.Jackson@eu.citrix.com>
To: Axel Beckert <abe@debian.org>
Cc: "686373@bugs.debian.org" <686373@bugs.debian.org>
Subject: Re: Bug#686373: Guests should spawn a getty on hvc0
Date: Wed, 5 Sep 2012 15:41:59 +0100
Axel Beckert writes ("Re: Bug#686373: Guests should spawn a getty on hvc0"):
> Ian Jackson wrote:
> > Package: xen-tools
> > Version: 4.2-1
> > 
> > After installing a squeeze guest,
> 
> Based on the version of xen-tools, your are using Squeeze as Dom0,
> too, right?

Indeed.

> > I don't get a login prompt on the
> > console.  I have to add this to inittab:
> > 
> > xc:2345:respawn:/sbin/getty 38400 hvc0
> 
> Hrm, can't remember having had that issue so far and I should have run
> into that quite often. Will check.

Thanks,
Ian.



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#686373; Package xen-tools. (Tue, 13 Nov 2012 18:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Axel Beckert <abe@debian.org>:
Extra info received and forwarded to list. (Tue, 13 Nov 2012 18:03:02 GMT) Full text and rfc822 format available.

Message #20 received at 686373@bugs.debian.org (full text, mbox):

From: Axel Beckert <abe@debian.org>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: 686373@bugs.debian.org
Subject: Re: Bug#686373: Guests should spawn a getty on hvc0
Date: Tue, 13 Nov 2012 19:00:54 +0100
Control: tag -1 + moreinfo

Hi Ian,

Ian Jackson wrote:
> > > I don't get a login prompt on the
> > > console.  I have to add this to inittab:
> > > 
> > > xc:2345:respawn:/sbin/getty 38400 hvc0
> > 
> > Hrm, can't remember having had that issue so far and I should have run
> > into that quite often. Will check.

I'm sorry, but I couldn't reproduce this on a Squeeze Dom0 after
creating a Squeeze DomU with neither xen-tools 4.2-1 nor with 4.3.1-1.

Any idea what could be special in your setup? Is serial_device set
somewhere manually? Does for some reason /etc/inittab in the DomU have
no line ending in "tty1"? Is there a getty line for tty1, but with
additional options or parameters behind the "tty1"?

I currently suspect the following line from 30-disable-gettys,
especially the last -e parameter to be the culprit:

[ -f ${prefix}/etc/inittab ] && sed -i -e 's/^\([2-6].*:respawn*\)/#\1/' -e 's/^T/#\t/' -e 's/tty1$/hvc0/' ${prefix}/etc/inittab

If that's really the culprit, I though would be curious why it doesn't
match in your case.

Nevertheless, that line has some quirks which could need some
improvements anyway. :-)

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



Added tag(s) moreinfo. Request was from Axel Beckert <abe@debian.org> to 686373-submit@bugs.debian.org. (Tue, 13 Nov 2012 18:03:03 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 11:12:26 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.