Skip to content
New issue

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

[0.9.4.2] Incorrect logrotate config permissions with Debian package installation #4523

Closed
immunda opened this issue Oct 21, 2015 · 2 comments
Assignees

Comments

@immunda
Copy link

immunda commented Oct 21, 2015

Influx ver: 0.9.4.2
OS ver: Ubuntu 14.04.2 LTS
Package: http://influxdb.s3.amazonaws.com/influxdb_0.9.4.2_amd64.deb

Hi folks,

I noticed I was getting mammoth logfile usage and it wasn't being rotated as expected. I ran logrotate as debug and it failed, giving me a permissions error:

user@xxx:~$ sudo logrotate -d /etc/logrotate.d/influxd 
Ignoring /etc/logrotate.d/influxd because of bad file mode.

Handling 0 logs

The permissions:

user@xxx:~$ ls -la /etc/logrotate.d/influxd 
-rw-rw-r-- 1 root root 113 Sep 29 17:51 /etc/logrotate.d/influxd

The following permission change corrected the problem, and a force run of logrotate on the config ran successfully.

user@xxx:~$ sudo chmod g-w /etc/logrotate.d/influxd

Thanks for all the ongoing work! Phil.

@rossmcdonald
Copy link
Contributor

Duplicate of #4446, resolved in #4447

@immunda
Copy link
Author

immunda commented Oct 22, 2015

🙏Appreciated, look forward to the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants