Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 03-02-2009, 04:46 AM   #1
Registered: Jul 2008
Distribution: Slackware, ubuntu
Posts: 53

Rep: Reputation: 15
yum auto update reboots machine?

If I configure my cent 5.2 to automatically download and install updates via yum at a certain interval , will my machine automatically reboot after the patches are applied?

Old 03-02-2009, 04:50 AM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
I've never seen such a feature in yum. The system only reboots if you specifically set it to reboot.
Old 03-02-2009, 05:43 AM   #3
Registered: Jul 2008
Distribution: Slackware, ubuntu
Posts: 53

Original Poster
Rep: Reputation: 15
It's not a yum feature but rather a way of dealing with yum using yum-updatesd.

[root@mycomputer bin]# cat /etc/yum/yum-updatesd.conf
# 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
# should we listen via dbus to give out update information/check for
# new updates
dbus_listener = yes

# automatically install updates
do_update = no
# automatically download updates
do_download = yes
# automatically download deps of updates
do_download_deps = yes
Old 03-02-2009, 11:57 AM   #4
LQ Newbie
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
if you use

# yum -y update

no, In *nix systems, the OS only does what you want it to do, if you want to restart it every time you update (not recommended at all) then you will use
# shutdown -r now

after the update
Old 03-02-2009, 04:06 PM   #5
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
There's no need to reboot unless you installed a new kernel (and want to run it).


reboot, update, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
yum question: How to update from backed up yum cache? Arodef Linux - Software 2 02-03-2010 12:42 AM
cannot update machine using yum updates of another machine abhijitghube Linux - Newbie 5 11-29-2008 12:43 PM
Query re: order of yum update and yum install jajtiii Linux - General 0 12-12-2005 01:48 PM
fc3 update: reboots with many errors pcandpc Fedora 3 06-25-2005 03:23 PM
Spontaneous Machine Reboots? ifm Linux - General 7 08-09-2002 06:21 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 01:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration