Re: [CentOS] yum-updatesd no longer working
On Fri, May 15, 2009 at 3:29 PM, Stewart Williams wrote: > I recently enabled yum-updatesd on two identical servers and configured > it to notify me of updates via e-mail. > > This worked fine to start with and it notified me on both machines when > the kernel-2.6.18-128.1.10.el5.x86_64.rpm update was released last week. > > However, today I realised that yum-updatesd was not running and thought > it was due to rebooting after the kernel update and that I'd forgotten > to set it to start at boot. In the NSA guide for hardening RHEL 5, they recommend disabling yum-updatesd and replacing it with a cron job that calls yum directly. They do not consider yum-updatesd mature enough for enterprise servers. This is in Chapter 2, on Page 16. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Yum-updatesd version in reports?
Amos Shapira wrote: > But I don't see anywhere in its config or command line options a way to > find which package version was replaced by which. > this is just my guess but as yum-updatesd uses yum so the log should be in the logfile directed by yum.conf namely /var/log/yum.log. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum-updatesd or similar for CentOS 4
Thank you all, I'll go with yum service On Thu, Dec 11, 2008 at 10:20 PM, Barry Brimer wrote: > chkconfig yum on > service yum start ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum-updatesd or similar for CentOS 4
Alexander Farber napsal(a): > However we have few machines running CentOS 4.7 > which we can't upgrade to 5 (because of Oracle 9 etc.) > > Is there some similar service available? > > Or has anybody experience in putting "yum -y update" > into crontab for CentOS 4? Any good advices? > Hi Alexander, I'm running yum 3.0.6 on my 4.7 boxes. I have plans to create dbus client emitting messages via xml-rpc to Cacti. See http://fs12.vsb.cz/hrb33/el4/hrb/testing/i386/repodata/repoview/Y.group.html Regards, David Hrbác( ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum-updatesd or similar for CentOS 4
Akemi Yagi wrote: > On Thu, Dec 11, 2008 at 2:16 PM, Karanbir Singh wrote: >> Barry Brimer wrote: >>> chkconfig yum on >>> service yum start >> yum-cron ? > > yum-cron is available for CentOS-4 ??? rpm -ql yum | grep cron -- Karanbir Singh : http://www.karan.org/ GnuPG Public Key : http://www.karan.org/publickey.asc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum-updatesd or similar for CentOS 4
On Thu, 2008-12-11 at 14:24 -0800, Akemi Yagi wrote: > On Thu, Dec 11, 2008 at 2:16 PM, Karanbir Singh wrote: > > Barry Brimer wrote: > >> chkconfig yum on > >> service yum start > > > > yum-cron ? > > yum-cron is available for CentOS-4 ??? Just run a yum available for all my repos. No yum-cron is shown. > > Akemi > -- Bill ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum-updatesd or similar for CentOS 4
On Thu, Dec 11, 2008 at 2:16 PM, Karanbir Singh wrote: > Barry Brimer wrote: >> chkconfig yum on >> service yum start > > yum-cron ? yum-cron is available for CentOS-4 ??? Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum-updatesd or similar for CentOS 4
Barry Brimer wrote: > chkconfig yum on > service yum start yum-cron ? -- Karanbir Singh CentOS Project { http://www.centos.org/ } irc: z00dax, #cen...@irc.freenode.net ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum-updatesd or similar for CentOS 4
> However we have few machines running CentOS 4.7 > which we can't upgrade to 5 (because of Oracle 9 etc.) > > Is there some similar service available? > > Or has anybody experience in putting "yum -y update" > into crontab for CentOS 4? Any good advices? chkconfig yum on service yum start ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Yum-updatesd
Bob Hoffman wrote: > The default setting is every hour. Checking for an update at least once a > day is not bad as a bug fix can come in at anytime. I would think that is > very important for the server. Is CentOS your first introduction to Linux? You may need to cut your teeth upstream on Fedora (a cutting edge product) as it changes frequently and has tons of updates. With an Enterprise distro the aim is stability to run mission critical servers. With the latest and greatest distro (Fedora), the aim is to roll out tons of updates and have you test them out. Thanks, Josh. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Yum-updatesd
> > This is on, via the chkconfig and seems to run a lot. > > TO DO: auto update YUM for the computer once a day. > > Files: /etc/yum/yum-updatesd.conf > > Extra: send a mail or add to log file > > Isn't that overkill for an enterprise distro? Subscribing to > the relevant mailing list should help shouldn't it? > Not even considering the potential load on the CentOS > servers, shouldn't an admin test updates without letting yum > auto-update? Updates do have issues too. The default setting is every hour. Checking for an update at least once a day is not bad as a bug fix can come in at anytime. I would think that is very important for the server. As for updates with issues, so far none, but I guess they will happen. I slimmed down my system, and continue to do so, in the hopes that the less stuff running, the less problems updating. So far though, no problems with any update so far. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Yum-updatesd
Bob Hoffman wrote: > This is on, via the chkconfig and seems to run a lot. > TO DO: auto update YUM for the computer once a day. > Files: /etc/yum/yum-updatesd.conf > Extra: send a mail or add to log file Isn't that overkill for an enterprise distro? Subscribing to the relevant mailing list should help shouldn't it? Not even considering the potential load on the CentOS servers, shouldn't an admin test updates without letting yum auto-update? Updates do have issues too. Thanks, Josh. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Yum-updatesd
I read somewhere, that one of the issues was choking on sending emails..due to sending to nobody account. I guess I will have to wait and look for errors. I do know that it was always on and had never told me there was an update available when logging in as root. > > below is my configuration of /etc/yum/yum-updatesd.conf that > works on Fedora 8 > > # cat /etc/yum/yum-updatesd.conf > [main] > # 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 = syslog > > # automatically install updates > do_update = yes > # automatically download updates > do_download = yes > # automatically download deps of updates do_download_deps = yes > > (I never tried e-mail notifications) > > Craig > os ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Yum-updatesd
On Fri, 2008-09-12 at 17:15 -0400, Bob Hoffman wrote: > Finsihing my server set up.. > Yum-updatesd > > This is on, via the chkconfig and seems to run a lot. > > TO DO: auto update YUM for the computer once a day. > Files: /etc/yum/yum-updatesd.conf > Extra: send a mail or add to log file > > This is the centos original file and my suggested changes. > If anyone uses this, do you have something similar? > > [main] > # how often to check for new updates (in seconds) > run_interval = 3600 (gonna change to 86400 for 24 hours) > > # how often to allow checking on request (in seconds) > updaterefresh = 600 (leave as is) > > # how to send notifications (valid: dbus, email, syslog) > emit_via = dbus (change to email, defaults to root I believe) > > # should we listen via dbus to give out update information/check for > # new updates > dbus_listener = yes (assume no?) > > # automatically install updates > do_update = no (change to yes) > > # automatically download updates > do_download = no (change to yes) > > # automatically download deps of updates > do_download_deps = no (change to yes) > > > I am not sure about the dbus listener. The documentation, yum wiki, or the > man pages were not telling me anything. yum-updatesd...I never got it to work in Fedora 7 but it does work in Fedora 8. I recall a discussion a few months ago that it didn't actually work in CentOS-5 but perhaps the 5.2 update actually made it work...I simply don't know. below is my configuration of /etc/yum/yum-updatesd.conf that works on Fedora 8 # cat /etc/yum/yum-updatesd.conf [main] # 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 = syslog # automatically install updates do_update = yes # automatically download updates do_download = yes # automatically download deps of updates do_download_deps = yes (I never tried e-mail notifications) Craig ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum-updatesd not working on CentOS 5.2
On Fri, 2008-07-11 at 17:42 +0100, John Horne wrote: > On Tue, 2008-07-08 at 12:12 +0200, Santi Saez wrote: > > > > So, appears that yum-updatesd can download, notify and install > > updates.. but none of this works on a fresh CentOS 5.2 :-( > > Well I tested this on Centos 5.1 and 5.2, as well as Fedora 9. It does seem to work. For CentOS 5.2 I simply installed the scim-docs RPM, which we do not usually have installed but it does have an update waiting. Having configured yum-updatesd to do an automatic update in 15 mins, I then just left it. After 15 mins it had applied the update. So it worked. In my case the problem is that I have configured yum-updatesd for notifications by syslog. It seems that the syslog option only works when updates are 'available'. If you ask for them to be automatically updated, or if an error occurs, then nothing is logged. (If you use the email option then you get the errors or update count as a mail message.) On my 5.1 systems, we have modified yum.conf to exclude the kernel and glibc packages from updating - we prefer to do those manually. However, this then means that when yum-updatesd runs, to update the system to centos 5.2, it gets a dependency error because of our excluded packages. As mentioned above, using syslog this is not logged at all. (Taking out the exclusions, and configuring yum-updatesd not to do updates, and I then correctly get a syslog message that 239 updates are available.) I have created a patch to the /usr/libexec/yum-updatesd-helper file which I will log in to the RedHat bugzilla tonight. (I want to check things on my F9 PC at home before submitting the bugzilla log.) The patch logs errors and the number of applied updates when using syslog. Tested, and it works fine (it was how I found out about the missing dependencies on our 5.1 server). So, perhaps not much help to the OP I'm afraid, but it sorted out what I think is a bug (with the syslog option). John. -- --- John Horne, University of Plymouth, UK Tel: +44 (0)1752 587287 E-mail: [EMAIL PROTECTED] Fax: +44 (0)1752 587001 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum-updatesd not working on CentOS 5.2
On Tue, 2008-07-08 at 12:12 +0200, Santi Saez wrote: > > So, appears that yum-updatesd can download, notify and install > updates.. but none of this works on a fresh CentOS 5.2 :-( > > I will try yum-cron.. but I'm also interested in testing yum- > updatesd, none is using it? there's no patch to solve this? Thanks.. > Hi, We use yum-updatesd on CentOS 5.1, 5.2 and Fedora systems. I have to admit that I have a 5.1 server sitting here telling me that it has a whole load of patches to install (the 5.2 updates), and I just didn't associate it with yum-updatesd not installing them. Like you we have configured yum-updatesd to do automatic installs, although we exclude things like the kernel for manual updating. Anyway. I've currently set yum-updatesd to do a check every 15mins (900 seconds) on one server. I'll look and see if there is anything obvious as to why it doesn't do the updates. I could see nothing about this on the RedHat bugzilla (no bugs reported for yum-updatesd at all under Fedora 9). I may test that tonight at home. John. -- --- John Horne, University of Plymouth, UK Tel: +44 (0)1752 587287 E-mail: [EMAIL PROTECTED] Fax: +44 (0)1752 587001 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum-updatesd not working on CentOS 5.2
On Tue, Jul 8, 2008 at 3:12 AM, Santi Saez <[EMAIL PROTECTED]> wrote: > > Dear Johnny, > Oh, no! A "Dear Johnny" letter! Waaah! (SCNR :-) mhr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum-updatesd not working on CentOS 5.2
El 07/07/2008, a las 16:51, Johnny Hughes escribió: Santi Saez wrote: Dear Srs, yum-updatesd-0.9-2.el5 appears that it's not working on freshly installed CentOS 5.2, using: # rpm -qa "yum*" yum-metadata-parser-1.1.2-2.el5 yum-updatesd-0.9-2.el5 yum-3.2.8-9.el5.centos.2.1 yum-fastestmirror-1.1.10-9.el5.centos I see some bugs ([1], [2] and [3]) in the bug tracker, and more info related to other distros like Fedora, etc.. with the same problem. yum-updatesd does not automatically update in CentOS 5.2, is there any patch for this? anyone using this daemon for Yum? This is the configuration file: # grep -v "#" /etc/yum/yum-updatesd.conf [main] run_interval = 60 updaterefresh = 60 emit_via = email email_to = [EMAIL PROTECTED] email_from = [EMAIL PROTECTED] do_update = yes do_download = yes do_download_deps = yes Regards, [1] http://bugs.centos.org/view.php?id=2039 [2] http://bugs.centos.org/view.php?id=2592 [3] http://bugs.centos.org/view.php?id=2560 yum-updatesd does not install updates, it tells you they are available. yum-cron (or a batch file you create with a 'yum -y upgrade' ) would be needed to actually upgrade the system. Dear Johnny, According to "man 5 yum-updatesd.conf": (..) do_update Boolean option to decide whether or not updates should be automatically applied. Defaults to False. do_download Boolean option to decide whether or not updates should be automatically downloaded. Defaults to False. (..) So, appears that yum-updatesd can download, notify and install updates.. but none of this works on a fresh CentOS 5.2 :-( I will try yum-cron.. but I'm also interested in testing yum- updatesd, none is using it? there's no patch to solve this? Thanks.. Regards, -- Santi Saez___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum-updatesd not working on CentOS 5.2
On Mon, 2008-07-07 at 16:10 -0500, Johnny Hughes wrote: > Craig White wrote: > > On Mon, 2008-07-07 at 09:51 -0500, Johnny Hughes wrote: > >> Santi Saez wrote: > >>> Dear Srs, > >>> > >>> yum-updatesd-0.9-2.el5 appears that it's not working on freshly > >>> installed CentOS 5.2, using: > >>> > >>> # rpm -qa "yum*" > >>> yum-metadata-parser-1.1.2-2.el5 > >>> yum-updatesd-0.9-2.el5 > >>> yum-3.2.8-9.el5.centos.2.1 > >>> yum-fastestmirror-1.1.10-9.el5.centos > >>> > >>> I see some bugs ([1], [2] and [3]) in the bug tracker, and more info > >>> related to other distros like Fedora, etc.. with the same problem. > >>> > >>> yum-updatesd does not automatically update in CentOS 5.2, is there any > >>> patch for this? anyone using this daemon for Yum? > >>> > >>> This is the configuration file: > >>> > >>> # grep -v "#" /etc/yum/yum-updatesd.conf > >>> [main] > >>> run_interval = 60 > >>> updaterefresh = 60 > >>> emit_via = email > >>> email_to = [EMAIL PROTECTED] > >>> email_from = [EMAIL PROTECTED] > >>> do_update = yes > >>> do_download = yes > >>> do_download_deps = yes > >>> > >>> Regards, > >>> > >>> [1] http://bugs.centos.org/view.php?id=2039 > >>> [2] http://bugs.centos.org/view.php?id=2592 > >>> [3] http://bugs.centos.org/view.php?id=2560 > >> yum-updatesd does not install updates, it tells you they are available. > >> > >> yum-cron (or a batch file you create with a 'yum -y upgrade' ) would be > >> needed to actually upgrade the system. > > > > FWIW Johnny...on Fedora yum-updatesd does indeed automatically install > > updates if configured as above (not the default). > > And it probably SHOULD work in CentOS too ... but it doesn't. > > We will probably look at it at some point ... but yumcron was included > since it is currently broken. I should have noted that I never could get yum-updatesd to automatically update a system until Fedora 8. It never worked in Fedora 7. Craig ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum-updatesd not working on CentOS 5.2
Craig White wrote: On Mon, 2008-07-07 at 09:51 -0500, Johnny Hughes wrote: Santi Saez wrote: Dear Srs, yum-updatesd-0.9-2.el5 appears that it's not working on freshly installed CentOS 5.2, using: # rpm -qa "yum*" yum-metadata-parser-1.1.2-2.el5 yum-updatesd-0.9-2.el5 yum-3.2.8-9.el5.centos.2.1 yum-fastestmirror-1.1.10-9.el5.centos I see some bugs ([1], [2] and [3]) in the bug tracker, and more info related to other distros like Fedora, etc.. with the same problem. yum-updatesd does not automatically update in CentOS 5.2, is there any patch for this? anyone using this daemon for Yum? This is the configuration file: # grep -v "#" /etc/yum/yum-updatesd.conf [main] run_interval = 60 updaterefresh = 60 emit_via = email email_to = [EMAIL PROTECTED] email_from = [EMAIL PROTECTED] do_update = yes do_download = yes do_download_deps = yes Regards, [1] http://bugs.centos.org/view.php?id=2039 [2] http://bugs.centos.org/view.php?id=2592 [3] http://bugs.centos.org/view.php?id=2560 yum-updatesd does not install updates, it tells you they are available. yum-cron (or a batch file you create with a 'yum -y upgrade' ) would be needed to actually upgrade the system. FWIW Johnny...on Fedora yum-updatesd does indeed automatically install updates if configured as above (not the default). And it probably SHOULD work in CentOS too ... but it doesn't. We will probably look at it at some point ... but yumcron was included since it is currently broken. signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum-updatesd not working on CentOS 5.2
On Mon, 2008-07-07 at 09:51 -0500, Johnny Hughes wrote: > Santi Saez wrote: > > > > Dear Srs, > > > > yum-updatesd-0.9-2.el5 appears that it's not working on freshly > > installed CentOS 5.2, using: > > > > # rpm -qa "yum*" > > yum-metadata-parser-1.1.2-2.el5 > > yum-updatesd-0.9-2.el5 > > yum-3.2.8-9.el5.centos.2.1 > > yum-fastestmirror-1.1.10-9.el5.centos > > > > I see some bugs ([1], [2] and [3]) in the bug tracker, and more info > > related to other distros like Fedora, etc.. with the same problem. > > > > yum-updatesd does not automatically update in CentOS 5.2, is there any > > patch for this? anyone using this daemon for Yum? > > > > This is the configuration file: > > > > # grep -v "#" /etc/yum/yum-updatesd.conf > > [main] > > run_interval = 60 > > updaterefresh = 60 > > emit_via = email > > email_to = [EMAIL PROTECTED] > > email_from = [EMAIL PROTECTED] > > do_update = yes > > do_download = yes > > do_download_deps = yes > > > > Regards, > > > > [1] http://bugs.centos.org/view.php?id=2039 > > [2] http://bugs.centos.org/view.php?id=2592 > > [3] http://bugs.centos.org/view.php?id=2560 > > yum-updatesd does not install updates, it tells you they are available. > > yum-cron (or a batch file you create with a 'yum -y upgrade' ) would be > needed to actually upgrade the system. FWIW Johnny...on Fedora yum-updatesd does indeed automatically install updates if configured as above (not the default). Craig ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum-updatesd not working on CentOS 5.2
Santi Saez wrote: Dear Srs, yum-updatesd-0.9-2.el5 appears that it's not working on freshly installed CentOS 5.2, using: # rpm -qa "yum*" yum-metadata-parser-1.1.2-2.el5 yum-updatesd-0.9-2.el5 yum-3.2.8-9.el5.centos.2.1 yum-fastestmirror-1.1.10-9.el5.centos I see some bugs ([1], [2] and [3]) in the bug tracker, and more info related to other distros like Fedora, etc.. with the same problem. yum-updatesd does not automatically update in CentOS 5.2, is there any patch for this? anyone using this daemon for Yum? This is the configuration file: # grep -v "#" /etc/yum/yum-updatesd.conf [main] run_interval = 60 updaterefresh = 60 emit_via = email email_to = [EMAIL PROTECTED] email_from = [EMAIL PROTECTED] do_update = yes do_download = yes do_download_deps = yes Regards, [1] http://bugs.centos.org/view.php?id=2039 [2] http://bugs.centos.org/view.php?id=2592 [3] http://bugs.centos.org/view.php?id=2560 yum-updatesd does not install updates, it tells you they are available. yum-cron (or a batch file you create with a 'yum -y upgrade' ) would be needed to actually upgrade the system. signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos