From: | henrik-postgres(at)hswn(dot)dk |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #12072: init script creates pid file with wrong owner |
Date: | 2014-11-26 14:19:24 |
Message-ID: | 20141126141924.15506.75024@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 12072
Logged by: Henrik Storner
Email address: henrik-postgres(at)hswn(dot)dk
PostgreSQL version: 9.3.5
Operating system: CentOS 6.6
Description:
The /etc/init.d/postgresql-9.3 file created a PID file, but fails to make it
owned by user 'postgres'.
This means that using the "pg_ctl" command to restart Postgres fails,
because user postgres cannot update the pid file (if you set
external_pid_file in postgresql.conf so it can find the pid file).
The init script should do a "chown postgres:postgres $pidfile" so the pid
file is owned by the postgres user. This allows pg_ctl commands to work.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2014-11-26 15:50:51 | Re: BUG #12053: Strange behavior for numeric types with unspecified precision-scale |
Previous Message | Maxim Boguk | 2014-11-26 14:02:05 | Re: BUG #12071: Stat collector went crasy (50MB/s constant writes) |