Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 639036

Summary: <sys-apps/dbus-1.10.24: dbus-daemon blocks waiting for entropy with dev-libs/expat >=2.2.1 <2.2.3
Product: Gentoo Linux Reporter: Hasso Tepper <hasso.tepper>
Component: Current packagesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED OBSOLETE    
Severity: normal CC: sping
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 641288    
Bug Blocks:    

Description Hasso Tepper 2017-11-28 08:50:27 UTC
sys-apps/dbus 1.10.18, which is a current stable, may block boot waiting for entropy due to dev-libs/expat being more strict from version 2.2.1 (which is a current stable) about quality of random used to salt hashing algorithms. In case of systemd (where most os systemd daemons including netword and logind require dbus) and virtual machines (where entropy might be very low) it means that machine may fail to boot at all.

Upstream bug and patch:

https://bugs.freedesktop.org/show_bug.cgi?id=101858

Reproducible: Sometimes

Steps to Reproduce:
Depends on entropy available at boot time and is really critical in case of low entropy virtual machines and systemd.
Comment 1 Sebastian Pipping gentoo-dev 2017-12-18 21:09:15 UTC
dbus >=1.10.24 has a fix, according to:
* https://bugs.freedesktop.org/show_bug.cgi?id=101858#c10
* https://cgit.freedesktop.org/dbus/dbus/tree/NEWS?h=dbus-1.10#n13

Expat >=2.2.3 has a fix in itself, too.  The related pull request:
https://github.com/libexpat/libexpat/pull/92/files
Comment 2 Sebastian Pipping gentoo-dev 2022-09-22 16:00:49 UTC
I'll close this as obsolete since all versions of Expat in Gentoo today are >=2.4.6.  Please re-open as needed.