Thread: pgbouncer wrong mode for logrotate file

pgbouncer wrong mode for logrotate file

From
Peter Eisentraut
Date:
pgbouncer installs the logrotate file with mode 0755.  For some reason,
logrotate on CentOS 7 is ignoring configuration files with modes it
doesn't like (it says so when running it with the --verbose option).  It
should be mode 0644.

For that matter, the systemd service file should also be mode 0644.

Attachment

Re: pgbouncer wrong mode for logrotate file

From
Devrim Gündüz
Date:
Hi,

On Thu, 2015-05-07 at 10:09 -0400, Peter Eisentraut wrote:
> pgbouncer installs the logrotate file with mode 0755.  For some
> reason, logrotate on CentOS 7 is ignoring configuration files with
> modes it doesn't like (it says so when running it with the --verbose
> option).  It should be mode 0644.
>
> For that matter, the systemd service file should also be mode 0644.

Applied to 9.4 tree. Based on the feedback, I will push it also to other
branches, too.

Regards,

--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachment