Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1473266 - systemd/dbus hang since the expat has been updated to 2.2.1
Summary: systemd/dbus hang since the expat has been updated to 2.2.1
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: expat
Version: rawhide
Hardware: arm
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Joe Orton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-20 10:51 UTC by Chanho Park
Modified: 2017-08-09 19:59 UTC (History)
1 user (show)

Fixed In Version: expat-2.2.3-1.fc24 expat-2.2.3-1.fc26 expat-2.2.3-1.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-07 17:20:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Chanho Park 2017-07-20 10:51:51 UTC
Description of problem:
Since the expat has been updated to 2.2.1 version, the boot of the arm machine could be hang and need long time to boot up. The problem comes from below commit of the expat((f356fb5 Detect and support syscall(SYS_getrandom, [..]) as well). Since the linux 3.17+, the getrandom syscall has been supported and the expat has used the syscall from the patch. However, the dbus service could be hang on some arm machines because they require long time to initialize the nonblocking pool of the random driver. If the syscall is called before the initialization, the kernel will blocked until the pool is initialized. The problem is that the patch of the expat does not consider such case. It need GRND_NONBLOCK flag when calling the syscall.

Version-Release number of selected component (if applicable):
Fedora 24/25/26 and expat 2.2.1 version

How reproducible:


Steps to Reproduce:
1. "dnf update" to install the expat 2.2.1 version
2. reboot

Actual results:
- The boot sequences are hang after dbus service.

Log)
[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.


Expected results:
- booting is sucessful.

Additional info:

Comment 1 Joe Orton 2017-07-21 08:47:14 UTC
Yeah, seems like this is being discussed upstream => 

https://github.com/libexpat/libexpat/issues/91

Comment 3 Chanho Park 2017-07-31 09:27:52 UTC
Does it any ticket to apply this patch for the fedora 24(I'm not sure whether it is EOL stage or not). Anyway, it should be resolved for the arm devices.

Comment 5 Joe Orton 2017-08-04 08:23:02 UTC
Package: expat-2.2.3-1.fc26
Build: https://koji.fedoraproject.org/koji/buildinfo?buildID=946004

Comment 6 Joe Orton 2017-08-04 08:25:17 UTC
Package: expat-2.2.3-1.fc25
Build: https://koji.fedoraproject.org/koji/buildinfo?buildID=945992

Comment 7 Fedora Update System 2017-08-04 08:30:18 UTC
expat-2.2.2-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-c4f30529f6

Comment 8 Joe Orton 2017-08-04 08:36:35 UTC
Package: expat-2.2.3-1.fc24
Build: https://koji.fedoraproject.org/koji/buildinfo?buildID=946013

Comment 9 Joe Orton 2017-08-04 08:40:30 UTC
Fedora 24 goes EOL on August 8th so please test

https://bodhi.fedoraproject.org/updates/expat-2.2.3-1.fc24

ASAP and I'll see if I can get it pushed to stable.

Comment 10 Fedora Update System 2017-08-04 21:53:10 UTC
expat-2.2.3-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-23788b7434

Comment 11 Fedora Update System 2017-08-04 21:54:01 UTC
expat-2.2.3-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-c9898a7430

Comment 12 Fedora Update System 2017-08-05 02:21:12 UTC
expat-2.2.3-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-c4f30529f6

Comment 13 Fedora Update System 2017-08-07 17:20:56 UTC
expat-2.2.3-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2017-08-07 20:18:17 UTC
expat-2.2.3-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2017-08-09 19:59:25 UTC
expat-2.2.3-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.