Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZCU2d-00076Q-Pd for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 07 Jul 2015 14:40:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZCU2d-0006y6-8V for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 07 Jul 2015 14:40:11 +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_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZCTxp-0001zw-1Z for pgsql-pkg-debian@postgresql.org; Tue, 07 Jul 2015 14:35:13 +0000 Received: from mimolette.dalibo.net ([212.85.154.222]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZCTxl-0003dz-2o for pgsql-pkg-debian@postgresql.org; Tue, 07 Jul 2015 14:35:11 +0000 Received: from dalibo.com (ada69-2-78-193-115-39.fbxo.proxad.net [78.193.115.39]) by mimolette.dalibo.net (Postfix) with ESMTPSA id 4F42360B0D9; Tue, 7 Jul 2015 16:35:07 +0200 (CEST) From: Ronan Dunklau To: pgsql-pkg-debian@postgresql.org Subject: pg_ctlcluster: permissions on logfile Date: Tue, 07 Jul 2015 16:33:23 +0200 Message-ID: <2563828.fxAWEbx9PZ@ronan.dunklau.fr> User-Agent: KMail/4.14.8 (Linux/4.1.1-gentoo-r1; KDE/4.14.10; x86_64; ; ) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5342944.Ws56fKBeJ3"; micalg="pgp-sha256"; protocol="application/pgp-signature" 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 --nextPart5342944.Ws56fKBeJ3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" Hello, We recently encountered a problem with using pg_ctlcluster: if the log = file is=20 already present, but the cluster user does not have the rights to write= to it=20 (like it can happen with a misconfigured logrotate), pg_ctlcluster fail= s=20 without any other information. It would be great if pg_ctlcluster could check the permissions on the l= ogfile=20 and emit a warning on it. The --foreground option does not have to consider this log file, since = it=20 won't be used at all.=20 Thank you. =2D-=20 Ronan Dunklau http://dalibo.com - http://dalibo.org --nextPart5342944.Ws56fKBeJ3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJVm+MzAAoJEHSCNJt9TqXn5mAH/26Ailnjr4xtVCcnT12mzcAX Iec2gsXnLTyf3em6/s/Lxa6c2QfjcNyhU8bVWYHKWWIZdbZqp7UHkd5d4J6ZAxAN CPUxegYhRjUVktuaV/X4ynnwbbtFeuwsYACfEtT1irMrFsPOCYYsQ4L3JWjiaEx2 aV/SyxsPRJgFtTPCYmYWoJZQyGlYiXmMgevBzipAGbuQb4fnzH3yhKU6FKeGRkAp IXfUwbYakuqVTrxTnDaKzoV6s9RZMnkriWy2VSPBVYjxILeW3TIhAf+1aRHhFp94 w7aeS+ir3NswBAKYfKa/pFQGLL6Ko2LYV5JwIey2Nh4SkmZMMHkWiiuNWxxuo1c= =PIN9 -----END PGP SIGNATURE----- --nextPart5342944.Ws56fKBeJ3--