Bug#734688: Logs are not rotated for a month - patch

2014-02-26 Thread Bolesław Tokarski
I did some basic testing and investigations and I am attaching a corrected patch. I have found that the problem only started appearing in version 3.8.0. In versions prior to that, the security-388608.patch used an unlink(fileName) in the beginning of createOutputFile function call. However,

Bug#734688: Logs are not rotated for a month - patch

2014-02-26 Thread Bolesław Tokarski
I have just bumped myself to the same issue. Your error message: error: error creating output file /var/log/syslog.1.gz: File exists indicates that the file syslog.1.gz exists. @madduck can you check that the file doesn't really exist? In my case a previous logrotate command must have been i