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 1471466
Summary: | dnf-makecache.service hangs and blocks dnf/yumex-dnf | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lars S. Jensen <lars.s.jensen> |
Component: | dnf | Assignee: | rpm-software-management |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 26 | CC: | dmach, mhatina, packaging-team-maint, pascal.ernster+bugzilla.redhat.com, rpm-software-management, vmukhame |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-07-19 11:17:34 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Lars S. Jensen
2017-07-16 06:22:47 UTC
The old syntax was restored in dnf-2.5.1-1.fc26 or before, so it was not the solution. It is still hanging and seen on 2 machines and it is not reproducible every time it runs: systemctl status dnf-makecache ● dnf-makecache.service - dnf makecache Loaded: loaded (/usr/lib/systemd/system/dnf-makecache.service; static; vendor Active: activating (start) since Sun 2017-07-16 15:01:13 CEST; 1h 4min ago Main PID: 27522 (dnf) Tasks: 1 (limit: 4915) CGroup: /system.slice/dnf-makecache.service └─27522 /usr/libexec/system-python /usr/bin/dnf makecache --timer Is should have a timeout so it don't block yumex-dnf in case of an issue. I see this as well on several Fedora 25 machines. According to "strace -f -p $PID" (with $PID being the pid that "systemctl status dnf-makecache" gives me), it hangs with FUTEX_WAIT_PRIVATE. A first "systemctl restart dnf-makecache", cancelled by Ctrl+C after a few seconds, and then followed by a second "systemctl restart dnf-makecache", temporarily fixes the problem until the corresponding systemd timer triggers the time. Just to be complete: the affected oackage version on my Fedora 25 machines is dnf 0:1.1.10-6.fc25. Though I have installed these machines quite recently so I don't know if previous versions of the dnf package are affected as well. *** This bug has been marked as a duplicate of bug 1470352 *** |