BUG #4875: /etc/init.d/postgresql status shows postmaster is stopped when executed as user

Поиск
Список
Период
Сортировка
От Armin Jenewein
Тема BUG #4875: /etc/init.d/postgresql status shows postmaster is stopped when executed as user
Дата
Msg-id 200906231506.n5NF6Fth016382@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #4875: /etc/init.d/postgresql status shows postmaster is stopped when executed as user  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      4875
Logged by:          Armin Jenewein
Email address:      jenewein@googlemail.com
PostgreSQL version: 8.1.11
Operating system:   CentOS 5.3
Description:        /etc/init.d/postgresql status shows postmaster is
stopped when executed as user
Details:

When i run "/etc/init.d/postgresql status" as a non-root user, it shows
"postmaster is stopped" while it actually is running. If i run it as root it
reports correctly.

I was able to reproduce this on several CentOS 5.3 machines. The exactly
same init script with the same postgres version (8.1.11) on CentOS 4.4 makes
no problems at all. Also, i wasn't able to reproduce this on any
Debian/Ubuntu machine.

Tho i don't think a user should play around with init scripts, the output
should NEVER lie to a user, be it a root user or not.

Yours sincerely,

Armin Jenewein

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "saint"
Дата:
Сообщение: BUG #4890: Allow insert character has no equivalent in "LATIN2"
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #4875: /etc/init.d/postgresql status shows postmaster is stopped when executed as user