Bug 709315
Summary: | stopped working with f15 update | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Neal Becker <ndbecker2> |
Component: | yum-updatesd | Assignee: | James Antill <james.antill> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 15 | CC: | gene-redhat, james.antill, katzj, long, major, richardfearn, stefan.kirrmann, tyler-redhat |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | yum-updatesd-0.9-10.fc16 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-02-27 00:46:44 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Neal Becker
2011-05-31 11:11:44 UTC
I have been able to reproduce this. Using a procedure found in another bug report for yum-updatesd, I ran the following command: $ sudo /usr/sbin/yum-updatesd --debug --oneshot Going to exec: ['/usr/libexec/yum-updatesd-helper', '--check', '--network-fail', '--download', '--deps', '--apply', '--email', '--email-from=root', '--email-to=willow@localhost', '--smtp-server=localhost:25', '--sendmail', '--debug'] Check for updates failed: No network available It appears that the yum-updatesd program was not updated for NetworkManager 0.9, which changed its dbus interface. I temporarily commented out lines 154 and 155 in /usr/sbin/yum-updatesd so it appears like this: bus = dbus.SystemBus() try: o = bus.get_object("org.freedesktop.NetworkManager", "/org/freedesktop/NetworkManager") #if o.state() != NM_ONLINE: #args.append("--network-fail") except dbus.DBusException: pass The above command then completed updates to the system. /usr/sbin/yum-updatesd checks the value returned from the state() method of the NetworkManager D-Bus interface. If the value doesn't match NM_ONLINE, it's assumed that there is no network connection. NM_ONLINE is defined in /usr/sbin/yum-updatesd: NM_ONLINE = 3 However the value returned from state() changed between 0.8 and 0.9: http://projects.gnome.org/NetworkManager/developers/api/08/spec-08.html#type-NM_STATE http://projects.gnome.org/NetworkManager/developers/api/09/spec.html#type-NM_STATE NM_ONLINE should now be 70, not 3. Any news on this? Doesn't work for Fedora 16 either. Always have to patch yum-updatesd for myself. yum-updatesd-0.9-9.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/yum-updatesd-0.9-9.fc15 yum-updatesd-0.9-9.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/yum-updatesd-0.9-9.fc16 *** Bug 703510 has been marked as a duplicate of this bug. *** *** Bug 789788 has been marked as a duplicate of this bug. *** Package yum-updatesd-0.9-10.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing yum-updatesd-0.9-10.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-1975/yum-updatesd-0.9-10.fc16 then log in and leave karma (feedback). yum-updatesd-0.9-10.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. yum-updatesd-0.9-10.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |