Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i7OdU-0002KR-A4 for pgsql-general@arkaria.postgresql.org; Mon, 09 Sep 2019 18:43:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i7OdT-0008KF-67 for pgsql-general@arkaria.postgresql.org; Mon, 09 Sep 2019 18:43:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i7OdS-0008Eu-Qj for pgsql-general@lists.postgresql.org; Mon, 09 Sep 2019 18:43:34 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i7OdP-0002Zg-PJ for pgsql-general@lists.postgresql.org; Mon, 09 Sep 2019 18:43:34 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id A42F77B8; Mon, 9 Sep 2019 20:43:27 +0200 (CEST) Date: Mon, 9 Sep 2019 20:43:27 +0200 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: Permissions on postgresql.conf, psql and patroni Message-ID: <20190909184327.GB7858@hjp.at> References: <28297.1568037837@sss.pgh.pa.us> <925de979-955f-45c3-a680-7893bb4afb17@manitou-mail.org> <20190909171519.GA7858@hjp.at> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="1UWUbFP1cBYEclgG" Content-Disposition: inline In-Reply-To: <20190909171519.GA7858@hjp.at> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --1UWUbFP1cBYEclgG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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" 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 > >=20 > > FYI, there's no such error string in the core Postgres sources. > > I imagine that it's coming from some wrapper script. >=20 > Yep. Daniel shoved me into the right direction. The message is from > PgCommon.pm, used by pg_wrapper. >=20 > 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 --=20 _ | 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 --1UWUbFP1cBYEclgG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAl12nUoACgkQ8g5IURL+ KF1FvQ/7BeKbF/en8Utc7aqcfTy2r9jofu4s3aPW/lGnq3Ss7TxaAp8iWn05/6m0 KfS9/zpzpk19oxbL0RVP3c2sOe7mQU47S84OOlhdNlzDqb9iJY5/jmrliK+uA8Vp LoFQENPtszn32SZwe0INU8nWb1eF1lCS5C52a/qpKqGzmT5UscD71JIn8FqSQS8k tiD+fJ6X2qaKYcrvC+XeVc4DeDc1r8pVcN4JdSghlJhAsCQqkUIF7JR6L+LKsC/D zGBuH9J1itTg1YmQjVIoOdgR+MrftNGdPRGto2L3HDZwnT4aPQFP6XcVZCsC+e1s Fo3CG4T25QAJQ9VYWGdgFeceqD/KnyCG4iEAk17UIR6HNWEgM0Wl+/8XNyUz4HT0 KZVraIMeBZvEufwlGH3tbSpcnxx/BsUwgJijbUUfinjjc+w6a8NAgK4oYm+adpyS dbRIGsG56pIlIMY9+nsEUof3vhWaS9OeI1LfOzuOJRuNwtCzLIYfT8a3ZQorjoNv erYQCxEDQ6stcxIb5qVgQo009P1U+D5hfqrLixLt/2VUXIDB2UeDxSOZ/4TEJl4j JwGSeI8T8bfphhnbk7BMa7ILF4agPxxEwLBAHicoZyJfUcbAAg/mJZfyl/DQ0w3z nGfxj1kntSwPKoH7yFS56TOP0UWRbinlip0CtiLrPhCNpyQx6bs= =CTwE -----END PGP SIGNATURE----- --1UWUbFP1cBYEclgG--