Bug 291871
Summary: | error message: "Unable to send message to yum-updatesd" | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Valdis Kletnieks <valdis.kletnieks> |
Component: | yum | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | james.antill, pmatilai, tim.lauridsen |
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: | 2007-09-18 19:33:35 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
Valdis Kletnieks
2007-09-15 02:36:15 UTC
Is yum-updatesd running? Just tried it again - both yum-updates and dbus are running. # ps ax|grep '[d]bus' 2281 ? Ssl 0:00 dbus-daemon --system 2840 ? Ss 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /home/valdis/.xsession 2843 ? S 0:00 /usr/bin/dbus-launch --exit-with-session /home/valdis/.xsession 2844 ? Ssl 0:00 /bin/dbus-daemon --fork --print-pid 4 --print-address 8 --session # ps ax|grep '[y]um' 11452 pts/0 SN 0:00 /usr/bin/python -tt /usr/sbin/yum-updatesd # yum list updates Loading "refresh-updatesd" plugin development 100% |=========================| 2.1 kB 00:00 primary.sqlite.bz2 100% |=========================| 6.4 MB 00:00 Excluding Packages in global exclude list Finished Updated Packages ConsoleKit.x86_64 0.2.2-1.fc8 development ConsoleKit-libs.x86_64 0.2.2-1.fc8 development ConsoleKit-x11.x86_64 0.2.2-1.fc8 development ORBit2.x86_64 2.14.9-1.fc8 development <lots of files elided> yelp.x86_64 2.20.0-1.fc8 development ypbind.x86_64 3:1.20.4-2.fc8 development yum.noarch 3.2.5-3.fc8 development zenity.x86_64 2.20.0-1.fc8 development Unable to send message to yum-updatesd # Is this another manifestation of bug #239937, where yum-updatesd is basically sitting there idling and refusing to actually *do* anything? yum-updatesd is completely different beast in F8 than previously, so it shouldn't be sitting and doing nothing. And 'unable to send message' seems even more weird. What version of yum-updatesd do you have installed? And what are the contents of /etc/yum/yum-updatesd.conf? And can you try to run the following command: $ dbus-send --system --print-reply --type=method_call --dest=edu.duke.linux.yum /Updatesd edu.duke.linux.yum.CheckNow yum-updates.conf: # how often to check for new updates (in seconds) run_interval = 3600 # how often to allow checking on request (in seconds) updaterefresh = 600 # how to send notifications (valid: dbus, email, syslog) emit_via = email # should we listen via dbus to give out update information/check for # new updates dbus_listener = no # automatically install updates do_update = no # automatically download updates do_download = yes # automatically download deps of updates do_download_deps = yes yum-updatesd-0.5-2.fc8 Unclear what the line-wrapping on your dbus-send was, so trying both ways: (with space before /Upd) # dbus-send --system --print-reply --type=method_call --dest=edu.duke.linux.yum /Updatesd edu.duke.linux.yum.CheckNow Error org.freedesktop.DBus.Error.ServiceUnknown: The name edu.duke.linux.yum was not provided by any .service files Well, these are the .service files I think I have: /usr/share/dbus-1/services/dhcdbd.service /usr/share/dbus-1/services/gaim.service /usr/share/dbus-1/services/gnome-power-manager.service /usr/share/dbus-1/services/gnome-vfs-daemon.service /usr/share/dbus-1/services/org.freedesktop.Notifications.service /usr/share/dbus-1/services/org.gnome.PolicyKit.service /usr/share/dbus-1/services/org.gnome.SettingsDaemon.service /usr/share/dbus-1/services/org.gnome.Tomboy.service /usr/share/dbus-1/system-services/wpa_supplicant.service I *do* have a /etc/dbus-1/system.d/yum-updatesd.conf - should that be .service? Between this and #239937, I'm getting pretty fed up with yum-updatesd. ;) Aha, I see why -- you have 'dbus_listener = no' in your yum-updatesd config. That means it won't listen on dbus, so there's no way to tell it to refresh. Which makes the message from the refresh-updatesd plugin exactly correct. "D'Oh!" -- H. Simpson. :) In my defense, the comment *above* the dbus_listener=no made it sound like that was yum-updatesd *sending* info to dbus, so it could then send the Gnome desktop the info so it could light up a "updates available" widget. So I set it to off, because I'm not running Gnome so nothing is listening to dbus waiting for an "updates available" message. Then 6 weeks later, somebody adds code to yum to poke yum-updatesd via dbus.. ;) |