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

Started by Josh Berkusover 21 years ago4 messagesbugs
Jump to latest
#1Josh Berkus
josh@agliodbs.com

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Josh Berkus (#1)
Re: Wrong version of INIT script in postgresql-7.3.8-3PGDG.i686.rpm

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

#3Josh Berkus
josh@agliodbs.com
In reply to: Tom Lane (#2)
Re: Wrong version of INIT script in postgresql-7.3.8-3PGDG.i686.rpm

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

#4Devrim GÜNDÜZ
devrim@gunduz.org
In reply to: Tom Lane (#2)
Re: Wrong version of INIT script in postgresql-7.3.8-3PGDG.i686.rpm

-----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-----