pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: PostgreSQL in Debian <pgsql-pkg-debian@postgresql.org>
Subject: Regression in recovery mode (Re: postgresql-9.1 updated to version 9.1.16-1.pgdg+1)
Date: Sat, 23 May 2015 22:44:35 +0200
Message-ID: <20150523204435.GC28106@msg.df7cb.de> (raw)
In-Reply-To: <E1YvmXn-0000PK-5b@atalia.postgresql.org>
References: <E1YvmXn-0000PK-5b@atalia.postgresql.org>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>

Re: To PostgreSQL in Debian 2015-05-22 <E1YvmXn-0000PK-5b@atalia.postgresql.org>
> The package postgresql-9.1 was updated on apt.postgresql.org:
> 
> 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
-- 
cb@df7cb.de | http://www.df7cb.de/

Attachments:

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

Message-ID: <20150523204435.GC28106@msg.df7cb.de>
Permalink:  ../20150523204435.GC28106@msg.df7cb.de/
Also on:    postgresql.org/message-id/20150523204435.GC28106@msg.df7cb.de

 · 

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-pkg-debian@postgresql.org
  Cc: myon@debian.org
  Subject: Re: Regression in recovery mode (Re: postgresql-9.1 updated to version 9.1.16-1.pgdg+1)
  In-Reply-To: <20150523204435.GC28106@msg.df7cb.de>
  References: <E1YvmXn-0000PK-5b@atalia.postgresql.org> <20150523204435.GC28106@msg.df7cb.de>

* 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