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")
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 ***