Subject: | |
From: | |
Reply To: | |
Date: | Wed, 2 Feb 2011 03:00:28 +0000 |
Content-Type: | multipart/signed |
Parts/Attachments: |
|
|
On 02/02/2011 01:16 AM, Christopher Stolzenberg wrote:
> Hello,
>
> How to turn off the nightly updates?
>
> # chkconfig yum off
> # rm /etc/cron.daily/yum.cron
> # yum remove yum-autoupdate
>
> Is that correct?
not quite.
i believe it should be "chkconfig yum-cron off". once turned off, i do
not believe you need the 'rm' and 'yum remove'.
running "chkconfig --list|grep yum" will show what you do have enabled.
whereas, on my system;
$ chkconfig --list|grep yum
yum 0:off 1:off 2:off 3:off 4:off 5:off 6:off
yum-cron 0:off 1:off 2:on 3:off 4:off 5:off 6:off
yum-updateonboot 0:off 1:off 2:off 3:off 4:off 5:off 6:off
yum-updatesd 0:off 1:off 2:on 3:off 4:off 5:off 6:off
$
so you see that "chkconfig yum off" only gets "yum", which should be off,
unless you are running a "yum" command.
you may want to run "system-config-services" to disable;
'yum-cron' -- run yum daily via cron
'yum-updateonboot' -- 'yum update' at boot
'yum-updatesd' -- periodically checks for updates and send notifications
saves a lot of command line entries.
hth.
--
peace out.
tc.hago,
g
.
****
in a free world without fences, who needs gates.
**
help microsoft stamp out piracy - give linux to a friend today.
**
to mess up a linux box, you need to work at it.
to mess up an ms windows box, you just need to *look* at it.
**
learn linux:
'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html
'The Linux Documentation Project' http://www.tldp.org/
'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge' http://howtoforge.com/
****
|
|
|