We tested this patched package version on ubuntu 14.04, via instructions found https://wiki.ubuntu.com/Testing/EnableProposed.
We tested by manually creating a 2.0 GB file via fallocate under the nginx log directory, and instructing the logrotate nginx config file to rotate any file > 1.0 GB. This worked, and then I manually corrupted the logrotate status file by 1) removing the top line, creating a new test log file, and verifying logrotate ran. 2) adding a line break in a file other than the top line, creating a new test log file, and verifying logrotate ran. Patch Behavior appears to be working as designed. Thank you, Taylor -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1709670 Title: logrotate never recovers if the statefile is corrupted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/logrotate/+bug/1709670/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
