]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
eudev: backport patch to fix udevd hanging while trying to access /dev/urandom
authorHiago De Franco <hiago.franco@toradex.com>
Mon, 13 Jan 2025 23:31:40 +0000 (20:31 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Jan 2025 12:07:52 +0000 (12:07 +0000)
commitcd5f630581f3e38645a92ad75b496bce92b679cb
treee28929d2e73ef96c3d09f19ad38da6a8b30f316c
parenta41fd633786a2404b5eee399ed0602e229c4be77
eudev: backport patch to fix udevd hanging while trying to access /dev/urandom

Linux kernel commit 48bff1053c17 ("random: opportunistically initialize
on /dev/urandom reads") introduced a change where /dev/urandom blocks if
the random pool is insufficiently initialized during hardware boot. This
behavior causes /dev/urandom reads to hang for approximately 5 seconds,
delaying the boot process with eudev init script (when it calls udevd).

This issue has already been solved upstream, therefore backport the
upstream patch to fix this.

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
meta/recipes-core/udev/eudev/0001-random-util.c-sync-dev_urandom-implementation-to-sys.patch [new file with mode: 0644]
meta/recipes-core/udev/eudev_3.2.14.bb