LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

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

Rep: Reputation: 15
yum auto update reboots machine?


Hi,
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?

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

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

Original Poster
Rep: Reputation: 15
Hi,
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
[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
# 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, 10:57 AM   #4
hulyom
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, 03:06 PM   #5
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

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


Reply

Tags
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-02-2010 11:42 PM
cannot update machine using yum updates of another machine abhijitghube Linux - Newbie 5 11-29-2008 11:43 AM
Query re: order of yum update and yum install jajtiii Linux - General 0 12-12-2005 12:48 PM
fc3 update: reboots with many errors pcandpc Fedora 3 06-25-2005 02:23 PM
Spontaneous Machine Reboots? ifm Linux - General 7 08-09-2002 05:21 AM


All times are GMT -5. The time now is 09:21 AM.

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