Bug 231593

Summary: Puplet (Pirut) only updates once
Product: [Fedora] Fedora Reporter: Patrick Steiner <patrick>
Component: pirutAssignee: Jeremy Katz <katzj>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
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-04-09 20:54:52 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 Patrick Steiner 2007-03-09 06:58:46 UTC
Description of problem:
If i start puplet it automatically notifies updates, but this only works once, i
have to restart the application (or restart my machine) to get a new
notification. but the applications always runs i the background. is this normal?

btw. i know i can do a yum update but a visual notification would be nicer.

Version-Release number of selected component (if applicable):


How reproducible:
start puplet make a update an wait.... :-) nothing will be done anymore


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jeremy Katz 2007-03-19 21:55:18 UTC
This should work fine; it does for me.  Can you try running yum-updatesd in the
foreground of a terminal (yum-updatesd -f) and then puplet in another and see if
there are any errors reported?

Comment 2 Patrick Steiner 2007-03-22 06:36:55 UTC
i have testet the command yum-updatesd -f now on 2 different machines (one was
fresh installed yesterday).
on the fresh installed machine i get no output. on the second one yum-updatesd
now  only outputs:

yum-updatesd -f
Loading "installonlyn" plugin

now for over a day :-)

Comment 3 Patrick Steiner 2007-03-28 06:15:51 UTC
i think i found the problem. shouldn't yum-updatesd send dbus messages? if i run
dbus-monitor i cant see any message, but in /etc/yum/yum-updatesd.conf 
emit_via = dbus is set.

Comment 4 Patrick Steiner 2007-03-28 06:25:30 UTC
no dbus seams to work!

if i test with this python script:

#!/usr/bin/python
import dbus
bus = dbus.SystemBus()
obj = bus.get_object("edu.duke.linux.yum", "/Updatesd")
res = obj.GetUpdateInfo(dbus_interface="edu.duke.linux.yum")
print res

i get some infos back.

Comment 5 Patrick Steiner 2007-03-28 07:03:30 UTC
it think this has something to do with this bug:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=228994

Comment 6 Patrick Steiner 2007-03-28 09:23:32 UTC
i looked into /usr/bin/puplet

shouldnt the function _refreshInfo called every 10 mins?

i have added a simple print command into this function but this is only called once.

Comment 7 Jeremy Katz 2007-04-09 20:54:52 UTC

*** This bug has been marked as a duplicate of 228994 ***