Description of problem: Been using yum-updatesd forever. After f15 update, it appears to have stopped working. No errors. Just no updates. config is same as stock, but with all 'no' changed to 'yes' Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
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.