[Buildroot] [PATCH] chrony: backport upstream patch to fix blocking on getrandom() at startup with recent kernels

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Aug 9 20:11:45 UTC 2018


Hello,

On Thu,  9 Aug 2018 17:57:28 +0200, Peter Korsgaard wrote:
> chrony calls getrandom() at startup if available, so it needs a workaround
> for the blocking behaviour on recent (4.14.39+), similar to what was done
> for util-linux in commit c4d86707cd6 (util-linux: add two upstream patches
> to fix blocking on getrandom() with recent kernels).
> 
> Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
> ---
>  ...ack-to-reading-dev-urandom-when-getrandom.patch | 42 ++++++++++++++++++++++
>  1 file changed, 42 insertions(+)
>  create mode 100644 package/chrony/0002-util-fall-back-to-reading-dev-urandom-when-getrandom.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list