Bug 703510
Summary: | yum-updatesd not reporting updates available | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Gene Stuckey <gene-redhat> | ||||
Component: | yum-updatesd | Assignee: | James Antill <james.antill> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 15 | CC: | gregor, igor.redhat, james.antill, katzj, long, martin, posti_roska, richardfearn | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-02-18 18:00:14 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: | |||||||
Attachments: |
|
Confirming that the same issue exists in F16 Alpha and that the above change indeed fixes it. Bug 709315 is a dupe of this one, btw. This ist still not fixed in F16. org.freedesktop.NetworkManager state() reports a value of 70 if a global connection is available (instead of 4 as in current yum-updatesd). So changing the if statement after the bus.get_object() method to something like if o.state() < NM_STATE_CONNECTED_LOCAL: where NM_STATE_CONNECTED_LOCAL has a value of 50 (according to networkmanager documentation) fixes this as well. moving to org.gnome.network_manager_applet may be not the right way to do, as this applet is not always running. *** This bug has been marked as a duplicate of bug 709315 *** |
Created attachment 498042 [details] patch Description of problem: yum-updatesd is no longer reporting updates available. Version-Release number of selected component (if applicable): yum-updatesd-0.9-4.fc15.noarch NetworkManager-0.8.999-1.fc15.i686 How reproducible: Always Steps to Reproduce: 1. yum install yum-updatesd 2. /usr/sbin/yum-updatesd --debug --oneshot Actual results: $ /usr/sbin/yum-updatesd --debug --oneshot Going to exec: ['/usr/libexec/yum-updatesd-helper', '--check', '--network-fail', '--apply', '--syslog', '--syslog-level=WARN', '--syslog-facility=DAEMON', '--syslog-ident=yum-updatesd', '--debug'] Check for updates failed: No network available Expected results: $ /usr/sbin/yum-updatesd --debug --oneshot Going to exec: ['/usr/libexec/yum-updatesd-helper', '--check', '--apply', '--syslog', '--syslog-level=WARN', '--syslog-facility=DAEMON', '--syslog-ident=yum-updatesd', '--debug'] Loaded plugins: langpacks, presto, refresh-packagekit Setting up and reading Presto delta metadata Processing delta metadata Download delta size: 14 M ... Additional info: It seems to be related to: o = bus.get_object("org.freedesktop.NetworkManager", "/org/freedesktop/NetworkManager") It works if I change that to: o = bus.get_object("org.gnome.network_manager_applet", "/org/gnome/network_manager_applet")