yum-updatesd - Is this broken or working? For me it's not.

Issues related to software problems.
Post Reply
sheepy
Posts: 4
Joined: 2008/01/25 16:58:45
Contact:

yum-updatesd - Is this broken or working? For me it's not.

Post by sheepy » 2009/05/12 08:36:28

I want my system to automatically check for updates once a day and download then install them if it finds any. It doesn't seem to do anything because whenever I do a "yum update" it often finds updates. I don't know how to debug it to see what the problem could be. Below I have provided some information that will hopefully allow someone more knowledgeable to assist me.

I have tried googling it, and seems that there are a few people experiencing the same happening (ie. nothing). There are also several open and closed bug reports which are about yum-updatesd being broken, but no solution is on the closed ones.

[code][root@test luke]# cat /etc/yum/yum-updatesd.conf
[main]
# how often to check for new updates (in seconds)
run_interval = 86400
# how often to allow checking on request (in seconds)
updaterefresh = 600

# how to send notifications (valid: dbus, email, syslog)
emit_via = dbus
# should we listen via dbus to give out update information/check for
# new updates
dbus_listener = yes

# automatically install updates
do_update = yes
# automatically download updates
do_download = yes
# automatically download deps of updates
do_download_deps = yes[/code]

[code][root@test luke]# chkconfig --list
apache 0:off 1:off 2:on 3:on 4:on 5:on 6:off
avahi-daemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off
avahi-dnsconfd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
haldaemon 0:off 1:off 2:off 3:off 4:off 5:off 6:off
ip6tables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
kudzu 0:off 1:off 2:off 3:off 4:off 5:off 6:off
lvm2-monitor 0:off 1:on 2:on 3:on 4:on 5:on 6:off
mcstrans 0:off 1:off 2:off 3:off 4:off 5:off 6:off
messagebus 0:off 1:off 2:off 3:off 4:off 5:off 6:off
multipathd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
mysql 0:off 1:off 2:on 3:on 4:on 5:on 6:off
netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
netfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off
netplugd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
rdisc 0:off 1:off 2:off 3:off 4:off 5:off 6:off
restorecond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
syslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off
vsftpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
xfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off
yum-updatesd 0:off 1:off 2:on 3:on 4:on 5:on 6:off[/code]

[code][root@test luke]# cat /proc/version
Linux version 2.6.18-128.1.10.el5 (mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP Thu May 7 10:39:21 EDT 2009[/code]

User avatar
AlanBartlett
Forum Moderator
Posts: 9324
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: yum-updatesd - Is this broken or working? For me it's not.

Post by AlanBartlett » 2009/05/12 19:22:34

Yes, sorry to say, that service daemon was broken in the [i]5.2 --> 5.3[/i] update.

I just have a [i]cron[/i] job that calls the [i]yum check-update[/i] command and mails the output, once a day. The file, [b]1checkforupdates[/b], which has owner / group [i]root / root[/i] and mode 755, is in my [b]/etc/cron.daily[/b] directory --

[code]
#!/bin/sh

if [ -x /usr/bin/yum ]; then
/usr/bin/yum --enablerepo=elrepo\*,rpmforge check-update 2>/dev/null | /bin/mail -s "yum check-update" root
fi

exit 0
[/code]

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

yum-updatesd - Is this broken or working? For me it's not.

Post by pschaff » 2009/05/13 15:05:28

Added a note to the issues section of the [url=http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.3]Release Notes[/url] and a comment about the workaround to the [url=http://bugs.centos.org/view.php?id=3564]bug report[/url].

Post Reply

Return to “CentOS 5 - Software Support”