This bug concerns the mod_php3_pgsql package that is
available on updates.redhat.com. This RPM has a %post
procedure that activates the pgsql.so module in
perl -pi -e 's|^;extension=pgsql.so|extension=pgsql.so|g'
There is a corresponding %postun procedure:
if [ $1 = 0 ]; then
perl -pi -e 's|^extension=pgsql.so|;extension=pgqsl.so|g'
You'll notice that the replacement string reads "pgqsl.so",
rather than "pgsql.so". It's a relatively minor problem,
but one that could prove annoying if someone were to
uninstall the package, then try reinstalling it.
Reinstallation would not re-enable the module.
Both mod_php3-imap-3.0.9-1.i386.rpm and
mod_php3-pgsql-3.0.9-1.i386.rpm use perl in their postinstall and
postuninstall scripts. Since those packages are upgrades, most
people who install them will have perl installed and not see a
However, when used in a system installation from scratch (e.g.,
from an updated distribution CD), perl is not available in
RedHat/instimage/usr/bin and the script fails. sed is not there
either, but it could be added and used for this purpose in install
scripts instead of perl because of its smaller size.
both problems are fixed in the forthcoming release (6.1).