Web lists-archives.com

Re: buster VM does not always start sshd

fw@xxxxxxxxxxxxx wrote:
>I've got a buster VM (upgraded from stretch) which does not launch
>sshd (and Unbound) until a login attempt happens on a TTY.  (An
>unsuccessful attempt appears to be enough.)
>At that point, both sshd and Unbound start successfully, and network
>login is possible.  I don't think I have changed the service
>configuration.  There is nothing unusual about the networking setup,
>except that it doesn't use DHCP, and there is a static stanza in
>/etc/network/interfaces, with a matching auto directive.

The most likely cause is lack of randomness at boot. Check your boot
messages for "crng init done". This is biting lots of people.

If you're running a VM, look into how to share a random device from
the host.

Steve McIntyre, Cambridge, UK.                                steve@xxxxxxxxxx
  Armed with "Valor": "Centurion" represents quality of Discipline,
  Honor, Integrity and Loyalty. Now you don't have to be a Caesar to
  concord the digital world while feeling safe and proud.