Обсуждение: BUG #5746: /etc/init.d/postgresql-9.0 status returns the wrong value

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

BUG #5746: /etc/init.d/postgresql-9.0 status returns the wrong value

От
"Jeff Mace"
Дата:
The following bug has been logged online:

Bug reference:      5746
Logged by:          Jeff Mace
Email address:      jeff.mace@continuent.com
PostgreSQL version: 9.0.1
Operating system:   CentOS
Description:        /etc/init.d/postgresql-9.0 status returns the wrong
value
Details:

The following code change is required in the script to check for the proper
file.

status -p /var/run/postmaster-9.0.${PGPORT}pid

should be

status -p /var/run/postmaster-9.0.${PGPORT}.pid

A '.' is needed after ${PGPORT}.

Re: BUG #5746: /etc/init.d/postgresql-9.0 status returns the wrong value

От
Devrim GÜNDÜZ
Дата:
On Wed, 2010-11-10 at 15:13 +0000, Jeff Mace wrote:
> The following code change is required in the script to check for the
> proper file.
>
> status -p /var/run/postmaster-9.0.${PGPORT}pid
>
> should be
>
> status -p /var/run/postmaster-9.0.${PGPORT}.pid
>
> A '.' is needed after ${PGPORT}.

Thanks for the report. I fixed it in SVN. I'll push updated packages
soon.

Regards,
--
Devrim GÜNDÜZ
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
PostgreSQL RPM Repository: http://yum.pgrpms.org
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz