Обсуждение: Wrong version of INIT script in postgresql-7.3.8-3PGDG.i686.rpm

Поиск
Список
Период
Сортировка

Wrong version of INIT script in postgresql-7.3.8-3PGDG.i686.rpm

От
Josh Berkus
Дата:
Folks,

Small bugaboo here, but inclined to cause panic:

Summary:  PostgreSQL 7.4 Init Script included in RPM for 7.3.8 RHEL
Severity: Minor
Affects:  RHEL version 7.3.8 installed via RPM via download from
ftp.postgresql.org
Description:   The "postgresql" init script installed with the
postgresql-7.3.8-3PGDG.i686.rpm
includes the following lines:

# PGVERSION is:
PGVERSION=7.4

This causes PostgreSQL not to start after the upgrade.  It needs to be fixed
to:

# PGVERSION is:
PGVERSION=7.3

--Josh

--
__Aglio Database Solutions_______________
Josh Berkus               Consultant
josh@agliodbs.com     www.agliodbs.com
Ph: 415-752-2500    Fax: 415-752-2387
2166 Hayes Suite 200    San Francisco, CA

Re: Wrong version of INIT script in postgresql-7.3.8-3PGDG.i686.rpm

От
Tom Lane
Дата:
Josh Berkus <josh@agliodbs.com> writes:
> This causes PostgreSQL not to start after the upgrade.  It needs to be fixed
> to:
> # PGVERSION is:
> PGVERSION=7.3

Devrim fixed that several days ago, I thought.  When did you pull down the
RPM, and from which mirror?

            regards, tom lane

Re: Wrong version of INIT script in postgresql-7.3.8-3PGDG.i686.rpm

От
Josh Berkus
Дата:
Tom,

> Devrim fixed that several days ago, I thought.  When did you pull down the
> RPM, and from which mirror?

Aha, it's about 10 days old.   That explains it.

--Josh

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

Re: Wrong version of INIT script in postgresql-7.3.8-3PGDG.i686.rpm

От
Devrim GUNDUZ
Дата:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

On Fri, 19 Nov 2004, Tom Lane wrote:

>> This causes PostgreSQL not to start after the upgrade.  It needs to be fixed
>> to:
>> # PGVERSION is:
>> PGVERSION=7.3
>
> Devrim fixed that several days ago, I thought.

I've fixed for some distros, but could not fix for FC1 (I
currently have no servers running FC1). Instead, created a
README file in FTP directory and explained the problem and workaround.
Just a FYI. You can use FC3 SRPM to build RPMs for FC1.

Regards,

- --
Devrim GUNDUZ
devrim~gunduz.org                devrim.gunduz~linux.org.tr
             http://www.tdmsoft.com
             http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBn2vstl86P3SPfQ4RAvRaAKCtS736fVJ/qPD/gDB2rOmnh6FlvwCgsGoE
eSVbWZ5hZphpDwB6n7/TEkU=
=wI0M
-----END PGP SIGNATURE-----