-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Remove haveged in favor of backported upstream kernel commit #1403
Conversation
Quoting the `Dockerfile` comment: > apply kernel entropy patch from 5.4; this same patch was backported in Debian in 5.3.9-1 > > - https://git.kernel.org/linus/50ee7529ec4500c88f8664560770a7a1b65db72b > - https://salsa.debian.org/kernel-team/linux/commit/c323c453b2485a33bfb33635a07f3a50bc1db1ee > - https://lists.debian.org/debian-boot/2019/11/msg00077.html > > specifically, this solves the problem of early-boot entropy (SSH key generation, for example), avoiding the need for userspace solutions like haveged
eb82061
to
ab6b28e
Compare
@tianon Do you have any plans to port it to |
I wasn't planning to given that |
@tianon Thanks! |
Quoting the `Dockerfile` comment: > apply kernel entropy patch from 5.4; this same patch was backported in Debian in 5.3.9-1 > > - https://git.kernel.org/linus/50ee7529ec4500c88f8664560770a7a1b65db72b > - https://salsa.debian.org/kernel-team/linux/commit/c323c453b2485a33bfb33635a07f3a50bc1db1ee > - https://lists.debian.org/debian-boot/2019/11/msg00077.html > > specifically, this solves the problem of early-boot entropy (SSH key generation, for example), avoiding the need for userspace solutions like haveged (cherry picked from commit ab6b28e) See #1403 (comment) for the justification behind backporting this change.
Nice! Backported in 8be24bc, so should be included in whatever the next release is (whether that's 19.03.x or something newer) 👍 |
Ah darn, it fails to build (should've done a build test before I committed): https://github.com/boot2docker/boot2docker/commit/8be24bcf79c8b7e1c200a86175fc8896be3256d8/checks#step:6:2862 So I guess we'd need to also update the kernel there, which might have a wider impact, but is probably worthwhile. |
This is techinically a cherry-pick/backport of c312ab6. This is in support of 8be24bc (a cherry-pick of ab6b28e). See #1403 (comment) for the justification behind backporting this change.
Ok, resolved in cb60095. 👍 |
Yeah, that's fair -- I've pushed out https://github.com/boot2docker/boot2docker/releases/tag/v19.03.12, which will be the final release and includes an updated kernel (which includes this change). |
Thank you, @tianon, for all the work you've done on boo2docker ! |
Quoting the
Dockerfile
comment:Refs #1322