[Bug 1783810] Re: [SRU] blocks boot on core18
Marc Deslauriers
marc.deslauriers at canonical.com
Fri Jul 27 11:19:46 UTC 2018
I think this is acceptable from a security point of view, especially
since this is an upstream change.
Before randutils.c implemented support for the getrandom() call, it used
/dev/urandom. The patch simply falls back to using /dev/urandom if there
is no enough entropy for getrandom().
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1783810
Title:
[SRU] blocks boot on core18
Status in util-linux package in Ubuntu:
Fix Released
Status in util-linux source package in Bionic:
Fix Committed
Bug description:
The current version of libuuid is using getrandom() without the
GRND_NONBLOCK flag. This means that in early boot the boot is blocked
until the crng is initialized to "level=1" which on virtual machines
may take some time.
Upstream fixed this in https://github.com/karelzak/util-
linux/commit/a9cf659e0508c1f56813a7d74c64f67bbc962538 and we should
just backport the fix.
[Impact]
* Makes systems that use libuuid in early boot hang
[Test Case]
* boot a fresh core18 system with kernel 4.15
[Regression Potential]
* little, change is very targeted
This is uploaded to the bionic-proposed queue now.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1783810/+subscriptions
More information about the foundations-bugs
mailing list