Default configuration of yum

Florian La Roche laroche at redhat.com
Sat Aug 9 13:07:03 UTC 2003


On Sat, Aug 09, 2003 at 09:03:24AM -0400, seth vidal wrote:
> On Sat, 2003-08-09 at 03:47, Féliciano Matias wrote:
> > $ chkconfig --list yum
> > yum             0:off   1:off   2:off   3:on    4:on    5:on    6:off
> > 
> > I don't think it's a good idea to enable automatic update by default.
> > 
> 
> The scripts in the rpm show:
> postinstall scriptlet (using /bin/sh):
> /sbin/chkconfig --add yum
> #/sbin/chkconfig yum on
> /sbin/service yum condrestart >> /dev/null
> exit 0
> 
> note the # sign.
> 
> So it's not being enabled by default.
> 
> are you sure you didn't enable it?

This is setup within the init script:
# chkconfig:    345 50 01

The postinstall line should not be used at all.

greetings,

Florian La Roche





More information about the test mailing list