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.
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