This is an automated email from the ASF dual-hosted git repository.
zrhoffman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new 15b574a Fix logrotate permissions for Traffic Stats (#5650)
15b574a is described below
commit 15b574a705a04d6db1ef3605a319947de5205b03
Author: Hank Beatty <[email protected]>
AuthorDate: Wed Mar 17 15:48:03 2021 -0400
Fix logrotate permissions for Traffic Stats (#5650)
---
CHANGELOG.md | 1 +
traffic_stats/build/traffic_stats.spec | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0adc00f..ce38c6e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -41,6 +41,7 @@ The format is based on [Keep a
Changelog](http://keepachangelog.com/en/1.0.0/).
- [#5363](https://github.com/apache/trafficcontrol/issues/5363) - Postgresql
version changeable by env variable
- [#5405](https://github.com/apache/trafficcontrol/issues/5405) - Prevent
Tenant update from choosing child as new parent
- [#5384](https://github.com/apache/trafficcontrol/issues/5384) - New grids
will now properly remember the current page number.
+- Fixed Invalid TS logrotate configuration permissions causing TS logs to be
ignored by logrotate.
### Changed
- Updated the Traffic Ops Python client to 3.0
diff --git a/traffic_stats/build/traffic_stats.spec
b/traffic_stats/build/traffic_stats.spec
index dae4e02..f498960 100644
--- a/traffic_stats/build/traffic_stats.spec
+++ b/traffic_stats/build/traffic_stats.spec
@@ -116,7 +116,7 @@ fi
%config(noreplace) %attr(600, traffic_stats, traffic_stats)
/opt/traffic_stats/conf/traffic_stats.cfg
%config(noreplace) %attr(600, traffic_stats, traffic_stats)
/opt/traffic_stats/conf/traffic_stats_seelog.xml
-%config(noreplace) /etc/logrotate.d/traffic_stats
+%config(noreplace) %attr(644, root, root) /etc/logrotate.d/traffic_stats
%dir /opt/traffic_stats
%dir /opt/traffic_stats/bin