pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter J. Holzer <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Subject: Re: Permissions on postgresql.conf, psql and patroni
Date: Mon, 9 Sep 2019 20:43:27 +0200
Message-ID: <20190909184327.GB7858@hjp.at> (raw)
In-Reply-To: <20190909171519.GA7858@hjp.at>
References: <28297.1568037837@sss.pgh.pa.us>
	<925de979-955f-45c3-a680-7893bb4afb17@manitou-mail.org>
	<20190909171519.GA7858@hjp.at>

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@hjp.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@hjp.at         | management tools.
__/   | http://www.hjp.at/ | -- Ross Anderson <https://www.edge.org/;

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (5+ messages)

Message-ID: <20190909184327.GB7858@hjp.at>
Permalink:  ../20190909184327.GB7858@hjp.at/
Also on:    postgresql.org/message-id/20190909184327.GB7858@hjp.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: hjp-pgsql@hjp.at
  Subject: Re: Permissions on postgresql.conf, psql and patroni
  In-Reply-To: <20190909184327.GB7858@hjp.at>
  References: <28297.1568037837@sss.pgh.pa.us> <925de979-955f-45c3-a680-7893bb4afb17@manitou-mail.org> <20190909171519.GA7858@hjp.at> <20190909184327.GB7858@hjp.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox