-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
logrotate config file invalid file mode in RPM #3490
Comments
👍 Ran into this with both 1.5.1 and 1.5.3. Here's my persisting workaround: yum -y -q install yum-plugin-post-transaction-actions
cat > /etc/yum/post-actions/logstash.action <<EOF
logstash:install:/bin/chmod --quiet 0644 /etc/logrotate.d/logstash
logstash:update:/bin/chmod --quiet 0644 /etc/logrotate.d/logstash
EOF |
Looks like logrotate.conf already has the correct permissions after a fresh git clone. My suspicion is the umask of the packaging user perhaps? |
untergeek
added a commit
to untergeek/logstash
that referenced
this issue
Nov 3, 2015
In some cases it seems that the file permissions for the logrotate configuration file are not set properly. This should address those cases. fixes elastic#3490
👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
This was tested under 1.5.0 and 1.5.1 RPM package and CentOS 7:
fixing file mode:
basically Iogstash's own log file rotation doesn't work out of the box.
The text was updated successfully, but these errors were encountered: