You could try running strace against the running yum-updatesd python process and see what it is stuck doing.

Hugh

Steven Tardy wrote:
issue: yum-updatesd installs updates only one time.

installed RHEL5 on a few systems using kickstart.
in the "post" part of the kickstart /etc/yum/yum-updatesd.conf is updated,
changing "do_update = no" to "do_update = yes".
during "post" the system is also registered using rhnreg_ks.
(i assume those are the only two steps required for auto updates)
reboot the server after installation is completed, all is happy.

the server shows up on https://rhn.redhat.com/rhn/systems/Overview.do with a
list of packages that need to be updated. after some time the list of updated
packages is installed. yay, yum-updatesd did its job. all is happy AND patched.

the next day a new updated package comes out. but the update never happens.
wait another day, the new updated package never gets installed.

login to the server:
[EMAIL PROTECTED] ~]# yum update
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
Existing lock /var/run/yum.pid: another copy is running. Aborting.
[EMAIL PROTECTED] ~]#cat /var/run/yum.pid
[EMAIL PROTECTED] ~]# /etc/init.d/yum-updatesd status
yum-updatesd (pid 7070) is running...
[EMAIL PROTECTED] ~]#/etc/init.d/yum-updatesd reload
Stopping yum-updatesd:                                     [  OK  ]
Starting yum-updatesd:                                     [  OK  ]
[EMAIL PROTECTED] ~]#

wait a little while, yay the new updated package is installed.

[EMAIL PROTECTED] ~]# yum update
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
Existing lock /var/run/yum.pid: another copy is running. Aborting.
[EMAIL PROTECTED] ~]# cat /var/run/yum.pid
[EMAIL PROTECTED] ~]# /etc/init.d/yum-updatesd status
yum-updatesd (pid 12230) is running...
[EMAIL PROTECTED] ~]#/etc/init.d/yum-updatesd reload
Stopping yum-updatesd:                                     [  OK  ]
Starting yum-updatesd:                                     [  OK  ]
[EMAIL PROTECTED] ~]# /etc/init.d/yum-updatesd status
yum-updatesd (pid 13273) is running...
[EMAIL PROTECTED] ~]# yum update
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
rhel-i386-server-5        100% |=========================| 1.4 kB    00:00
Reading repository metadata in from local files
No Packages marked for Update/Obsoletion
[EMAIL PROTECTED] ~]#


yum-updatesd should install all patches as they come out, without intervention.
right?
i can't find any useful errors in /var/log/yum.log or /var/log/up2date.
did i miss something?
any ideas?

steven tardy

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

--
System Administrator
DIVMS Computer Support Group

University of Iowa
Email: [EMAIL PROTECTED]
Voice: 319-335-0748

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to