pg_ctlcluster: permissions on logfile - Mailing list pgsql-pkg-debian

From Ronan Dunklau
Subject pg_ctlcluster: permissions on logfile
Date
Msg-id 2563828.fxAWEbx9PZ@ronan.dunklau.fr
Whole thread Raw
List pgsql-pkg-debian
Hello,

We recently encountered a problem with using pg_ctlcluster: if the log file is
already present, but the cluster user does not have the rights to write to it
(like it can happen with a misconfigured logrotate), pg_ctlcluster fails
without any other information.

It would be great if pg_ctlcluster could check the permissions on the logfile
and emit a warning on it.

The --foreground option does not have to consider this log file, since it
won't be used at all.

Thank you.

--
Ronan Dunklau
http://dalibo.com - http://dalibo.org

Attachment

pgsql-pkg-debian by date:

Previous
From: Christoph Berg
Date:
Subject: Re: [pgadmin-support] pgagent DEB packages do not support postgres 9.4
Next
From: Christoph Berg
Date:
Subject: Re: tag 9.5 as alpha/beta on the apt download sites?