Re: [pgsql-pkg-yum] pgbouncer socket directory - Mailing list pgsql-pkg-yum

From Peter Eisentraut
Subject Re: [pgsql-pkg-yum] pgbouncer socket directory
Date
Msg-id cf396f4c-4974-11cd-d739-76de3df7f1fe@2ndquadrant.com
Whole thread Raw
In response to Re: [pgsql-pkg-yum] pgbouncer socket directory  (Devrim Gündüz <devrim@gunduz.org>)
Responses Re: [pgsql-pkg-yum] pgbouncer socket directory  (Devrim Gündüz <devrim@gunduz.org>)
List pgsql-pkg-yum
On 4/27/17 06:30, Devrim Gündüz wrote:
>> But /var/run/postgresql is 0755 postgres:postgres, so pgbouncer can't
>> write there.  How is this supposed to work?
>
> No idea. Anyone else?

On Debian, there is no separate pgbouncer user and it runs as "postgres".

Alternatively, add pgbouncer to the postgres group and change the
permissions to 0775.

(Or just change them to 0777 and forget the rest.)

--
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-pkg-yum by date:

Previous
From: Devrim Gündüz
Date:
Subject: Re: [pgsql-pkg-yum] pgadmin4 RPM broken?
Next
From: cen
Date:
Subject: Re: [pgsql-pkg-yum] pgadmin4-v1 Fedora 25 repo conflict with recentupdates