Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YwGHm-0006MP-Uq for pgsql-pkg-debian@arkaria.postgresql.org; Sat, 23 May 2015 20:44:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YwGHm-0006lz-A7 for pgsql-pkg-debian@arkaria.postgresql.org; Sat, 23 May 2015 20:44:46 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YwGHl-0006lr-Dk for pgsql-pkg-debian@postgresql.org; Sat, 23 May 2015 20:44:45 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1YwGHe-00025A-3k for pgsql-pkg-debian@postgresql.org; Sat, 23 May 2015 20:44:44 +0000 Received: from msg.df7cb.de (aftr-88-153-6-177.unity-media.net [88.153.6.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 3lvGrh0lyTz3F1Q for ; Sat, 23 May 2015 22:44:36 +0200 (CEST) Date: Sat, 23 May 2015 22:44:35 +0200 From: Christoph Berg To: PostgreSQL in Debian Subject: Regression in recovery mode (Re: postgresql-9.1 updated to version 9.1.16-1.pgdg+1) Message-ID: <20150523204435.GC28106@msg.df7cb.de> Mail-Followup-To: Christoph Berg , PostgreSQL in Debian References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="t0UkRYy7tHLRMCai" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -1.9 (-) X-Mailing-List: pgsql-pkg-debian List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Precedence: bulk Sender: pgsql-pkg-debian-owner@postgresql.org --t0UkRYy7tHLRMCai Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Re: To PostgreSQL in Debian 2015-05-22 > The package postgresql-9.1 was updated on apt.postgresql.org: >=20 > New version 9.1.16-1.pgdg+1: Hi, we do have a problem in recovery mode now: http://www.postgresql.org/message-id/20150523172627.GA24277@msg.df7cb.de In versions 9.1 and earlier, by default symlinks /var/lib/postgresql/*/*/server.crt and .key to /etc/ssl/ are created. The symlink targets are owned by root and only readable for the postgres user. These cause server recovery with the new versions to fail. Possible workarounds are: * Replace the symlinks by the files pointed to and make them writable for postgres * Make the files in /etc/ssl/ writable for postgres (NOT RECOMMENDED) * Disable SSL and remove the symlinks (not the best idea either) * Downgrade Versions 9.2 and later are also affected (any file not writable by the postgres user is bad), but the default disk layout does not contain these problematic symlinks. We are looking into providing fixed packages ASAP. Christoph --=20 cb@df7cb.de | http://www.df7cb.de/ --t0UkRYy7tHLRMCai Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJVYOazAAoJEExaa6sS0qeuJWUQAJY2vrsv/TWLSUtc8KZjHD2J iZrswADICS6KL1pXHRdw3ZHu0lpUuF+iXpasa13n3nVS5NqZZ5L/Gi2Iv1s3US5k LhGzJk6QMyubG2eEvCp0/zJUuavGLXD7ybrMU75j8HqQCqaYMATcg+URvyHccUh+ KWh9aWlqCOIBUac5Cc0Z6SEFWG24peHZze5bP8/pslwLPkETRPpCsIqSJ5Op7UIy IDf+tVYXplJnb/3zXA9xTRTs1DOAqfUs1Dh1u6G5bKzOY0mdGxckmM/NZCR77EdB PTsp7fh6+x8QbDQ49vbhb2seGHeSV2n6OQAQgC9SukP7LA366QYRXw1pDlSU+ejf gaLQsmdTnkQFPQKomKRy3ltm3w3i8DUT2B3lNIABq2/sjUmX9WrgGuV04leSjZ8L 9i5O4QgKX4uZkPLGGxG3wCpN0uM9gYATHfVXkOgqWb/A54nhY2CTJSjl05JjTtJc il3JbODjm3Jr8Zv7r7g1iIkLGpYeaJJTbKfCR1FSsiXHlnAc4LtkeHVFnE//3XLz aD3VsLpsxw1Tprm8ob8TTBuprG5kfBhwEESXgDCaIBTJ4TVLTKUm/DiGMCcGF2Pa uupoy4qx+NGtiWrv99jPFu9dT8nr2ZoRij6OpRJiXEvG2/N24A2iJVDsD9aC4gbb qZJuJSSxdZsKNi1DX85/ =mWxC -----END PGP SIGNATURE----- --t0UkRYy7tHLRMCai--