I assume you have edited /etc/yum/yum-updatesd.conf

# automatically install updates
do_update = yes
# automatically download updates
do_download = yes
# automatically download deps of updates
do_download_deps = yes

Alasdair

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


-- 
--
Alasdair Gow
Lumison
t: 0845 1199 900
d: 0131 514 4042
-- 

This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed.  
If you have received this email in error please notify the sender. Any 
offers or quotation of service are subject to formal specification.  
Errors and omissions excepted.  Please note that any views or opinions 
presented in this email are solely those of the author and do not 
necessarily represent those of Lumison, nplusone or lightershade ltd.  
Finally, the recipient should check this email and any attachments for the 
presence of viruses.  Lumison, nplusone and lightershade ltd accepts no 
liability for any damage caused by any virus transmitted by this email.

-- 
-- 
Virus scanned by Lumison.

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

Reply via email to