Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #66043

Bug#948519: insufficient boot-time entropy on arm64 virtual machines

From Noah Meyerhans <noahm@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#948519: insufficient boot-time entropy on arm64 virtual machines
Date 2020-01-09 20:30 +0100
Message-ID <zmLFf-8i4-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Package: src:linux
Version: 4.19.67-2+deb10u2
Severity: important 

See the thread at
https://lists.debian.org/debian-cloud/2020/01/threads.html#00013 for
some context.

When launching arm64 VMs on Amazon EC2, a lack of entropy at boot
results in the full boot process taking several minutes, when the
expectation is that it take a small number of seconds (<10).

Analysis of the boot process shows the ssh key generation is the
culprit, taking nearly 3 minutes.

admin@ip-10-0-1-87:~$ cloud-init analyze blame
-- Boot Record 01 --
     165.77300s (init-network/config-ssh)

The 5.4 kernel currently in sid does not experience this lack of
entropy.  It has been suggested that upstream commit 50ee7529ec45
("random: try to actively add entropy rather than passively wait for
it") may be the difference here, but I have not confirmed this.

A suggested workaround has been to install haveged in the image, but
this tends to make crypto people frown.

Back to linux.debian.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#948519: insufficient boot-time entropy on arm64 virtual machines Noah Meyerhans <noahm@debian.org> - 2020-01-09 20:30 +0100
  Bug#948519: insufficient boot-time entropy on arm64 virtual machines Noah Meyerhans <noahm@debian.org> - 2020-01-10 00:30 +0100
  Bug#948519: Info received (Bug#948519: insufficient boot-time entropy on arm64 virtual machines) Noah Meyerhans <noahm@debian.org> - 2020-01-11 00:30 +0100
  Processed: Re: Bug#948519: Info received (Bug#948519:  insufficient boot-time entropy on arm64 virtual machines) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-01-11 00:30 +0100

csiph-web