LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   yum auto update reboots machine? (https://www.linuxquestions.org/questions/red-hat-31/yum-auto-update-reboots-machine-708531/)

rosv 03-02-2009 03:46 AM

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

reddazz 03-02-2009 03:50 AM

I've never seen such a feature in yum. The system only reboots if you specifically set it to reboot.

rosv 03-02-2009 04:43 AM

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

hulyom 03-02-2009 10:57 AM

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

anomie 03-02-2009 03:06 PM

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


All times are GMT -5. The time now is 08:34 AM.