When you upgrade an rpm that contains a script with "chkconfig --add
servicename" you get a script filed message, when in fact nothing bad
happened, just that the service already existed and chkconfig returns a
status of 1.
In my opinion either the return status of chkconfig when you try to add
an already existing service must change, our the rpm's script must do a
check before running chkconfig.
it is misleading to have a successful upgrade return an error message;
specially when you may be running rpm from an automated tool or
interface that is not intelligent enough to do a "rpm --qp --script
pkgname" and interpret that into "Oh, well no prob., is just that
misleading error message caused by "chkconfig --add".
--
Eugenio Diaz, BSEE/BSCE
Linux Engineer
[EMAIL PROTECTED]