Re: BUG #12072: init script creates pid file with wrong owner - Mailing list pgsql-bugs

From John R Pierce
Subject Re: BUG #12072: init script creates pid file with wrong owner
Date
Msg-id 547C060C.3090803@hogranch.com
Whole thread Raw
In response to BUG #12072: init script creates pid file with wrong owner  (henrik-postgres@hswn.dk)
List pgsql-bugs
On 11/26/2014 6:19 AM, henrik-postgres@hswn.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@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@new ~]# cat /etc/redhat-release
CentOS release 6.6 (Final)

[root@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

pgsql-bugs by date:

Previous
From: Sandeep Thakkar
Date:
Subject: Re: BUG #12072: init script creates pid file with wrong owner
Next
From: bouda@edookit.com
Date:
Subject: BUG #12108: Documentation: Limitation of shell types not mentioned