Update logrotate template to create 0640 log files
CIS Hardening will complain if logrotate is configured to
create world readable log files.
The directory containing log files has a restricted access
to mysql user only anyway
Closes-bug: #1993146
Change-Id: If346ebb7bdb1839b2ec83d991840b559c5c0c3e4
(cherry picked from commit cd2738e4a73996058d87d50d397550b60bc06fba)
Reviewed: https:/ /review. opendev. org/c/openstack /charm- mysql-router/ +/862722 /opendev. org/openstack/ charm-mysql- router/ commit/ 82aa2fda3844770 e6ebb481a2810d4 7e14bccdf5
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/jammy
commit 82aa2fda3844770 e6ebb481a2810d4 7e14bccdf5
Author: Olivier Dufour-Cuvillier <email address hidden>
Date: Tue Oct 18 12:19:55 2022 +0900
Update logrotate template to create 0640 log files
CIS Hardening will complain if logrotate is configured to
create world readable log files.
The directory containing log files has a restricted access
to mysql user only anyway
Closes-bug: #1993146 9b2ec83d991840b 559c5c0c3e4 58d87d50d397550 b60bc06fba)
Change-Id: If346ebb7bdb183
(cherry picked from commit cd2738e4a739960