Re: BUG #12072: init script creates pid file with wrong owner

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #12072: init script creates pid file with wrong owner
Date: 2014-12-01 06:09:16
Message-ID: 547C060C.3090803@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 11/26/2014 6:19 AM, henrik-postgres(at)hswn(dot)dk wrote:
> The /etc/init.d/postgresql-9.3 file created a PID file, but fails to make it
> owned by user 'postgres'.

it should have. mine does.

[root(at)new ~]# ls -la /var/lib/pgsql/9.3/data/postmaster.pid
-rw------- 1 postgres postgres 72 Oct 29 09:54
/var/lib/pgsql/9.3/data/postmaster.pid

[root(at)new ~]# cat /etc/redhat-release
CentOS release 6.6 (Final)

[root(at)new ~]# rpm -qa postgres\*
postgresql93-devel-9.3.5-1PGDG.rhel6.x86_64
postgresql93-libs-9.3.5-1PGDG.rhel6.x86_64
postgresql93-server-9.3.5-1PGDG.rhel6.x86_64
postgresql93-contrib-9.3.5-1PGDG.rhel6.x86_64
postgresql93-9.3.5-1PGDG.rhel6.x86_64

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Henrik Størner 2014-12-01 07:10:31 Re: BUG #12072: init script creates pid file with wrong owner
Previous Message Sandeep Thakkar 2014-12-01 05:07:24 Re: BUG #12072: init script creates pid file with wrong owner