Bug#468960: network-console type images assume sshd will be installed
On Sun, Mar 02, 2008 at 10:03:50PM +0000, Colin Watson wrote:
> On Sun, Mar 02, 2008 at 05:37:28PM +0100, Frans Pop wrote:
> > On Sunday 02 March 2008, Robert Millan wrote:
> > > TYPE = network-console images, such as di-nslu2.bin, assume that
> > > an sshd flavour will be installed in the target system, and have
> > > no provisions to force its installation in case it isn't selected
> > > by user choice in tasksel.
> > Incorrect. The network-console postinst has:
> > # Queue installation of ssh to make sure we can log in after reboot
> > apt-install openssh-server || true
> Perhaps that should display an error if apt-install returns non-zero,
> rather than just carrying on. Robert's problem could have been a
> transient failure installing openssh-server, which should have been
> detected rather than ignored.
... but of course apt-install will be queueing at that point so such
errors will be undetectable. Hmm. Perhaps it would be nice to be able to
register some kind of callback system so that apt-install can notify the
requesting udeb that the package it wanted wasn't available, and let it
decide what to do.
This does feel susceptible to overengineering, though!
Colin Watson [firstname.lastname@example.org]