On Thu, 3 Sep 2009, Jean-Michel Barbet wrote:
Hello,
On Aug 19th I updated the OS packages on a SL4.5 server. Recently I
discovered that updating yum-conf had reactivated the nightly yum
updates that I had disabled. Evidence is in the postconfig script :
rpm -q --scripts yum-conf-45-2.SL
postinstall scriptlet (using /bin/sh):
/sbin/chkconfig --add yum
/sbin/chkconfig yum on
/sbin/service yum restart >> /dev/null
[...]
=> I consider this as potentially dangerous and I am raising the
alarm signal...
I do not know if this is the same for other versions of SL.
At least with sl53 it doesn't seem to be...
$ rpm -q --scripts --triggers yum-conf
<no output>
$ rpm -q yum-conf
yum-conf-53-3.SL.noarch
however we must have been worried by this at some point since as part of
our standard nightly cron jobs we have code that does:
/sbin/chkconfig --level 2345 yum off
and we also replace the /etc/cron.daily/yum.cron file just to be sure :-)
--
/--------------------------------------------------------------------\
| "Computers are different from telephones. Computers do not ring." |
| -- A. Tanenbaum, "Computer Networks", p. 32 |
---------------------------------------------------------------------|
| Jon Peatfield, _Computer_ Officer, DAMTP, University of Cambridge |
| Mail: [email protected] Web: http://www.damtp.cam.ac.uk/ |
\--------------------------------------------------------------------/