Hi,

On Wed, Jan 31, 2024 at 05:28:34PM +0000, Ben Harris wrote:
> When Patroni creates a new PostgreSQL cluster, the postgresql.conf file in
> /etc/patroni/<version>/<cluster> ends up without world read permission. This
> means that tools that use pg_wrapper (such as /usr/bin/psql) can't find the
> cluster's port number and don't work by default.

Ack, though I believe is only a problem if you are not logged in as user
postgres?
 
> I think this problem was introduced by this upstream commit:
> 
> https://github.com/zalando/patroni/commit/01d07f86cd525c0f324074ee026faf6d7f179839

Thanks for finding that!

> But I'm not sure if it's an upstream bug, or a latent flaw in the Debian
> packaging.

I had another look today and I think it is an upstream thing - whether
it is a bug or a behaviour change is debatable.

I opened an upstream issue for this, let's see what they say.


Michael

Reply via email to