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

Re: Installation via telnet or SSH

On Sun, May 02, 2004 at 10:48:53PM +0100, Colin Watson wrote:
> On Sun, May 02, 2004 at 02:17:02PM -0400, Joey Hess wrote:
> > Martin Michlmayr wrote:
> > > I'm working on d-i support for MIPS based Cobalt machines.  These
> > > don't have graphics cards, so you have to do the installation via the
> > > serial console.  However, not everyone has a null modem cable... I've
> > > been wondering if it would be possible to start debian-installer and
> > > then ask people to telnet or SSH to the machine, and d-i would run via
> > > telnet.  I think that S/390 works something like this... how can
> > > I adapt this for Cobalt?
> > 
> > s390 doesn't work like that yet until the second stage. However, Colin
> > did some work on making ssh udebs, not yet uploaded.
> Should be in 1:3.8.1p1-1, in the next few days.

Hmm. Actually, this is kind of thorny. ssh wants to use getpwuid(),
which looks in /etc/nsswitch.conf (missing) and defaults to using
libnss_compat for the name service lookup, which we don't have; nor do
we have libnss_files. If getpwuid() fails, you get "You don't exist, go

The best idea I have is to ask the glibc folks for a libnss-files-udeb,
make openssh-{client,server}-udeb depend on it, and put an
/etc/nsswitch.conf in rootskel that gets rid of all the default
references to libnss_compat (NIS in d-i, I think not ...). Any comments?

Colin Watson                                  [cjwatson@flatline.org.uk]

Reply to: