[Buildroot] [PATCH-2018.02.x] util-linux: add two upstream patches to fix blocking on getrandom() with recent kernels

Peter Korsgaard peter at korsgaard.com
Mon May 28 07:48:41 UTC 2018


>>>>> "Carlos" == Carlos Santos <casantos at datacom.ind.br> writes:

Hi,

 >> This change unfortunately causes users of libuuid from util-linux to block
 >> for a very long time waiting for sufficient entropy.  An example of this is
 >> mke2fs, which uses libuuid to generate the filesystem UUID.
 >> 
 >> Fix this by backporting two post-2.31 fixes from upstream.
 >> 
 >> Signed-off-by: Peter Korsgaard <peter at korsgaard.com>

 > Tested-by: Carlos Santos <casantos at datacom.com.br>

 > Built host and target util-linux for x86_64 systems running Linux
 > kernel 4.16.11 (Fedora 28) and 4.14.39 (Buildroot), respectively.

 > Ran mke2fs from an early init script to check that it did not block.

Committed to 2018.02.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list