Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639036 - <sys-apps/dbus-1.10.24: dbus-daemon blocks waiting for entropy with dev-libs/expat >=2.2.1 <2.2.3
Summary: <sys-apps/dbus-1.10.24: dbus-daemon blocks waiting for entropy with dev-libs/...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on: 641288
Blocks:
  Show dependency tree
 
Reported: 2017-11-28 08:50 UTC by Hasso Tepper
Modified: 2022-09-22 16:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.