[LMA] InfluxDB/Grafana - Log rotation not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StackLight |
Fix Released
|
Medium
|
guillaume thouvenin |
Bug Description
The log rotation for the /var/log/
- There are 2 files, /etc/logrotate.
- The permissions for both of those files was not right, making it so logrotate refused to run the rotation for the influxd.log file. They need to be root/root/0644 for logrotate to accept to run. They were 0664 (and also, I believe, not owned by root, but I've lost the output for that, might need to be checked).
And, of course, the log rotation not working makes it so /var/log filesystem fills up somewhat quickly.
Changed in lma-toolchain: | |
assignee: | LMA-Toolchain Fuel Plugins (mos-lma-toolchain) → guillaume thouvenin (guillaume-thouvenin) |
Changed in lma-toolchain: | |
status: | Fix Committed → Triaged |
Changed in lma-toolchain: | |
status: | Triaged → Fix Committed |
Changed in lma-toolchain: | |
status: | Fix Committed → Fix Released |
Thanks for the report! IIUC this only affects the stable/0.8 branch since we've removed the custom logrotate configuration in the master branch.