pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #7750: pid file conflict in RedHat
4+ messages / 3 participants
[nested] [flat]
* BUG #7750: pid file conflict in RedHat
@ 2012-12-10 18:41 postgres@tbruce.com
0 siblings, 3 replies; 4+ messages in thread
From: postgres@tbruce.com @ 2012-12-10 18:41 UTC (permalink / raw)
To: pgsql-bugs
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").
This is with rpm version of postgres 9.1.4 and 9.1.6 (we haven't tested
9.1.7 at this time).
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #7750: pid file conflict in RedHat
@ 2012-12-11 16:02 Bruce Momjian <bruce@momjian.us>
parent: postgres@tbruce.com
2 siblings, 0 replies; 4+ messages in thread
From: Bruce Momjian @ 2012-12-11 16:02 UTC (permalink / raw)
To: postgres@tbruce.com; +Cc: pgsql-bugs
On Mon, Dec 10, 2012 at 06:41:29PM +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").
>
> This is with rpm version of postgres 9.1.4 and 9.1.6 (we haven't tested
> 9.1.7 at this time).
I think you need to report this to Red Hat; we didn't create that file.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #7750: pid file conflict in RedHat
@ 2012-12-11 18:22 Devrim GÜNDÜZ <devrim@gunduz.org>
parent: postgres@tbruce.com
2 siblings, 0 replies; 4+ messages in thread
From: Devrim GÜNDÜZ @ 2012-12-11 18:22 UTC (permalink / raw)
To: postgres@tbruce.com; +Cc: 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
Attachments:
signature.asc (application/pgp-signature, 197B) download
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #7750: pid file conflict in RedHat
@ 2013-02-06 20:40 Devrim GÜNDÜZ <devrim@gunduz.org>
parent: postgres@tbruce.com
2 siblings, 0 replies; 4+ messages in thread
From: Devrim GÜNDÜZ @ 2013-02-06 20:40 UTC (permalink / raw)
To: postgres@tbruce.com; +Cc: 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").
>
> This is with rpm version of postgres 9.1.4 and 9.1.6 (we haven't tested
> 9.1.7 at this time).
I committed this to 9.1.8 and 9.2.3. They will be available in Friday's
releases.
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
Attachments:
signature.asc (application/pgp-signature, 197B) download
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2013-02-06 20:40 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-12-10 18:41 BUG #7750: pid file conflict in RedHat postgres@tbruce.com
2012-12-11 16:02 ` Bruce Momjian <bruce@momjian.us>
2012-12-11 18:22 ` Devrim GÜNDÜZ <devrim@gunduz.org>
2013-02-06 20:40 ` Devrim GÜNDÜZ <devrim@gunduz.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox