Re: BUG #7750: pid file conflict in RedHat - Mailing list pgsql-bugs

From Devrim GÜNDÜZ
Subject Re: BUG #7750: pid file conflict in RedHat
Date
Msg-id 1355250134.32422.152.camel@lenovo01-laptop03.gunduz.org
Whole thread Raw
In response to BUG #7750: pid file conflict in RedHat  (postgres@tbruce.com)
List pgsql-bugs
Hi,

On Mon, 2012-12-10 at 18:41 +0000, postgres@tbruce.com wrote:
> The following bug has been logged on the website:
>
> Bug reference:      7750
> Logged by:          Timothy J Bruce
> Email address:      postgres@tbruce.com
> PostgreSQL version: 9.1.6
> Operating system:   RedHat v6.2
> Description:
>
> In line 238 of the rpm based init.d script, the pid file is called
> specifically with a qualified path ("status -p
> /var/run/postmaster-9.1.pid"), even though line 70 specifies a variable to
> point to the pid file (pidfile="/var/run/postmaster-9.1.pid").

Last time I checked (it might be an older version of RHEL), status()
could not use the $pidfile effectively, that's why I did not put it
there. Looks like it is doable now .

Created http://wiki.pgrpms.org/ticket/87 for this. This change will be
available in next patch release.

Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #7750: pid file conflict in RedHat
Next
From: Jeff Janes
Date:
Subject: Re: BUG #7748: "drop owned by" fails with error message: "unrecognized object class: 1262"