On Wed, 27 Jan 2010, Troy Dawson wrote:

Here is the script that yum-conf (not yum) runs on install to turn itself on.

/sbin/chkconfig --add yum
/sbin/chkconfig yum on
/sbin/service yum restart >> /dev/null

If you had previously turned yum off
 /sbin/chkconfig --level 2345 yum off
Then it is going to *stay* off.

This has been in every yum-conf since SL 4.0, so I'm not quite sure what is happening on your machines Steve.

Troy

It could be that there was a non-standard /etc/cron.daily/yum.cron
on my machines that wasn't looking at /var/lock/subsys/yum to
see whether the yum service was started or not, and when I
did the yum upgrade to 4.7 I got the standard one again which
started looking and saw that the service was chkconfigged off.
But in any case I saw that it was off and I never remember chkconfigging
it off.

Steve timm



Steven Timm wrote:
Bug, I think
On sl 4.6 and before, yum wasn't listed as a service in
chkconfig, now it is.  Got to chkconfig it on manually.
Have seen this happen on several machines.

Steve



On Wed, 27 Jan 2010, P. Larry Nelson wrote:

Hi, this is probably a Troy or Connie question, but I've noticed
that after upgrading systems installed with SL4.6 to SL4.8,
following the HowTo instructions on the SL web page, that yum
is turned off.

[r...@cx07 ~]# chkconfig --list yum
yum             0:off   1:off   2:off   3:off   4:off   5:off   6:off


Bug or feature?

Thanks!
- Larry






--
------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
[email protected]  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader.

Reply via email to