We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
By default, kapacitor creates the logrotate configuration in /etc/logrotate.d with 664 as permission.
logrotate has the following requirements:
Otherwise, you'll get this error when running logrotate -f /etc/logrotate.conf root@host-1:/etc/logrotate.d# logrotate -v -f /etc/logrotate.conf reading config file /etc/logrotate.conf including /etc/logrotate.d reading config file apport reading config file apt Ignoring couchdb because the file owner is wrong (should be root). reading config file dpkg reading config file influxdb Ignoring kapacitor because of bad file mode. reading config file rsyslog reading config file telegraf reading config file ufw reading config file unattended-upgrades
Successfully reproduced the issue on Debian 8, CentOS 7 and Ubuntu 16.04.
Already have a fix for that and forked the repository. Will create the pull request soon.
The text was updated successfully, but these errors were encountered:
issue influxdata#1043 wrong file mode on kapacitor logrotate configur…
be2a4e8
…ation
f21a71b
Merged pull request #1044 from winem/master
3e37706
issue #1043 wrong file mode on kapacitor logrotate configuration
Fixed with #1044. To anyone who encounters this, run:
sudo chmod 644 /etc/logrotate.d/kapacitor
Sorry, something went wrong.
No branches or pull requests
By default, kapacitor creates the logrotate configuration in /etc/logrotate.d with 664 as permission.
logrotate has the following requirements:
Otherwise, you'll get this error when running logrotate -f /etc/logrotate.conf
root@host-1:/etc/logrotate.d# logrotate -v -f /etc/logrotate.conf
reading config file /etc/logrotate.conf
including /etc/logrotate.d
reading config file apport
reading config file apt
Ignoring couchdb because the file owner is wrong (should be root).
reading config file dpkg
reading config file influxdb
Ignoring kapacitor because of bad file mode.
reading config file rsyslog
reading config file telegraf
reading config file ufw
reading config file unattended-upgrades
Successfully reproduced the issue on Debian 8, CentOS 7 and Ubuntu 16.04.
Already have a fix for that and forked the repository. Will create the pull request soon.
The text was updated successfully, but these errors were encountered: