Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YwtLQ-0007Aj-No for pgsql-bugs@arkaria.postgresql.org; Mon, 25 May 2015 14:27:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YwtLQ-000070-92 for pgsql-bugs@arkaria.postgresql.org; Mon, 25 May 2015 14:27:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YwtLP-00006s-LH for pgsql-bugs@postgresql.org; Mon, 25 May 2015 14:27:07 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1YwtLL-0005Ju-2Z for pgsql-bugs@postgresql.org; Mon, 25 May 2015 14:27:06 +0000 MIME-Version: 1.0 Subject: BUG #13350: blindly fsyncing data dir considered harmful To: pgsql-bugs@postgresql.org From: andrew@tao11.riddles.org.uk Date: Mon, 25 May 2015 14:26:57 +0000 Message-ID: <20150525142657.4686.35151@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 13350 Logged by: Andrew Gierth Email address: andrew@tao11.riddles.org.uk PostgreSQL version: 9.1.16 Operating system: Debian (and probably others) Description: The addition of a recursive fsync of the data dir on startup (in the absence of a clean shutdown) causes startup to fail if the data dir contains symlinks to files which the postgres user can't write to. This is the standard configuration for many SSL-enabled setups, including the standard debian packaging defaults. Accordingly, crash recovery now ALWAYS fails on such systems without manual intervention. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs