The fix is incomplet because the logrotate configuration of the package still sets a wrong permission.
# logrotate -f -v /etc/logrotate.d/influxd Ignoring /etc/logrotate.d/influxd because of bad file mode.
Handling 0 logs
This command solves the issue: # chmod g-w /etc/logrotate.d/influxd
# logrotate -f -v /etc/logrotate.d/influxd reading config file /etc/logrotate.d/influxd
Handling 1 logs
rotating pattern: /var/log/influxdb/influxd.log forced from command line (7 rotations) empty log files are rotated, old logs are removed considering log /var/log/influxdb/influxd.log log needs rotating rotating log /var/log/influxdb/influxd.log, log->rotateCount is 7 dateext suffix '-2016032510' glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]' destination /var/log/influxdb/influxd.log-2016032510.gz already exists, skipping rotation
The fix is incomplet because the logrotate configuration of the package still sets a wrong permission.
# logrotate -f -v /etc/logrotate. d/influxd d/influxd because of bad file mode.
Ignoring /etc/logrotate.
Handling 0 logs
This command solves the issue: d/influxd
# chmod g-w /etc/logrotate.
# logrotate -f -v /etc/logrotate. d/influxd d/influxd
reading config file /etc/logrotate.
Handling 1 logs
rotating pattern: /var/log/ influxdb/ influxd. log forced from command line (7 rotations) influxdb/ influxd. log influxdb/ influxd. log, log->rotateCount is 7 [0-9][0- 9][0-9] [0-9][0- 9][0-9] [0-9][0- 9][0-9] ' influxdb/ influxd. log-2016032510. gz already exists, skipping rotation
empty log files are rotated, old logs are removed
considering log /var/log/
log needs rotating
rotating log /var/log/
dateext suffix '-2016032510'
glob pattern '-[0-9]
destination /var/log/