Re: Permissions on postgresql.conf, psql and patroni

From: "Peter J(dot) Holzer" <hjp-pgsql(at)hjp(dot)at>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Permissions on postgresql.conf, psql and patroni
Date: 2019-09-09 18:43:27
Message-ID: 20190909184327.GB7858@hjp.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2019-09-09 19:15:19 +0200, Peter J. Holzer wrote:
> On 2019-09-09 10:03:57 -0400, Tom Lane wrote:
> > "Peter J. Holzer" <hjp-pgsql(at)hjp(dot)at> writes:
> > > Yesterday I "apt upgrade"d patroni (to version 1.6.0-1.pgdg18.04+1
> > > from http://apt.postgresql.org/pub/repos/apt bionic-pgdg/main).
> > > Today I noticed that I couldn't invoke psql as an unprivileged user
> > > anymore:
> > > % psql
> > > Error: Invalid data directory for cluster 11 main
> >
> > FYI, there's no such error string in the core Postgres sources.
> > I imagine that it's coming from some wrapper script.
>
> Yep. Daniel shoved me into the right direction. The message is from
> PgCommon.pm, used by pg_wrapper.
>
> It's a good thing both packages are maintained by the same team. Saves
> the discussion who's going to fix it :-).

Since this issue is specific to the debian/ubuntu packages, I've opened
a ticket in redmine: https://redmine.postgresql.org/issues/4717 (as
suggested in the wiki).

hp

--
_ | Peter J. Holzer | we build much bigger, better disasters now
|_|_) | | because we have much more sophisticated
| | | hjp(at)hjp(dot)at | management tools.
__/ | http://www.hjp.at/ | -- Ross Anderson <https://www.edge.org/>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Cory Nemelka 2019-09-09 18:43:28 Issues with inconsistent COLLATION installation
Previous Message Peter J. Holzer 2019-09-09 17:15:19 Re: Permissions on postgresql.conf, psql and patroni