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

logrotate having file change issues #38

Open
adamn opened this issue Aug 12, 2014 · 2 comments
Open

logrotate having file change issues #38

adamn opened this issue Aug 12, 2014 · 2 comments
Labels

Comments

@adamn
Copy link
Member

adamn commented Aug 12, 2014

I'm not sure why this should ever happen - but it's happening a bit lately

/etc/cron.daily/logrotate:
gzip: stdin: file size changed while zipping
@adamn adamn added the bug label Aug 12, 2014
@adamn
Copy link
Member Author

adamn commented Aug 14, 2014

from mauro, "the gzipping thing with logrotate is probably some proc that didn't get the HUP signal to reopen it's logfile's fd when the log was rotated or something like that"

@replay
Copy link
Member

replay commented Aug 21, 2014

i added a --verbose flag to logrotate, so if this happens again we should see which log file it's talking about. the change is here:

/etc/cron.daily/logrotate:14 /usr/sbin/logrotate --verbose /etc/logrotate.conf

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

No branches or pull requests

2 participants