missing /dev/console in debootstrap --foreign, a bug or not ?

Colin Watson cjwatson at ubuntu.com
Tue Jan 20 17:40:58 GMT 2009


On Tue, Jan 20, 2009 at 03:20:39PM +0000, Scott James Remnant wrote:
> On Tue, 2009-01-20 at 16:04 +0100, Loïc Minier wrote:
> > On Tue, Jan 20, 2009, Oliver Grawert wrote:
> > > currently the script simply calls mknod to add the device file to the
> > > image, but we were discussing the issue in the mobile team and came to
> > > the conclusion that running debootstrap --foreign might indeed often be
> > > used like that. to me it is not clear if debootstrap --foreign shouldnt
> > > create /dev/console in any case.
> > 
> >  I think it wouldn't hurt if debootstrap's second stage would create
> >  /dev/console if it's required and missing, but I'm not sure whether we
> >  can actually start debootstrap's second stage.
> 
> debootstrap does call MAKEDEV with a few essentials (including console)
> and unpacks this during the first stage.

As discussed on IRC, it doesn't actually include console in its
devices.tar.gz. I certainly regard this as a bug, and have fixed it
upstream and backported it to Jaunty:

debootstrap (1.0.10ubuntu3) jaunty; urgency=low

  * Backport from trunk:
    - Add /dev/console to devices.tar.gz (after all, MAKEDEV's 'consoleonly'
      was added for boot-floppies in the first place; see
      https://lists.ubuntu.com/archives/ubuntu-devel/2009-January/027230.html).

 -- Colin Watson <cjwatson at ubuntu.com>  Tue, 20 Jan 2009 17:38:34 +0000

Thanks,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]



More information about the ubuntu-devel mailing list