Re: BUG #7750: pid file conflict in RedHat

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: postgres(at)tbruce(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #7750: pid file conflict in RedHat
Date: 2012-12-11 18:22:14
Message-ID: 1355250134.32422.152.camel@lenovo01-laptop03.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


Hi,

On Mon, 2012-12-10 at 18:41 +0000, postgres(at)tbruce(dot)com wrote:
> The following bug has been logged on the website:
>
> Bug reference: 7750
> Logged by: Timothy J Bruce
> Email address: postgres(at)tbruce(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Chris Jerdonek 2012-12-11 19:03:48 Re: BUG #7744: docs should link to postgresql_psycopg2
Previous Message Bruce Momjian 2012-12-11 18:20:20 Re: BUG #7750: pid file conflict in RedHat