On 2013-04-09 12:11:55 +0100, Paul Martin wrote:
> cron runs in the system's local timezone, hence logrotate follows what
> cron does.
I've looked at the source file, which shows that's a silly argument:
logrotate.c contains
(((nowSecs - fst_buf.st_mtime) / 60 / 60 / 24)
On 2013-04-09 12:11:55 +0100, Paul Martin wrote:
> On Mon, Apr 08, 2013 at 08:20:49PM +0200, Vincent Lefevre wrote:
> > One part of the bug is that logrotate rotates the log files instead
> > of not changing anything if it incorrectly guesses that a file has
> > been written in the future. So, if t
severity 704950 minor
retitle 704950 logrotate: Error and forced rotation if timezone change moves
localtime date backwards a day
thanks
On Mon, Apr 08, 2013 at 08:20:49PM +0200, Vincent Lefevre wrote:
> severity 704950 grave
> done
>
> because obvious critical data loss (though the case is not
severity 704950 grave
done
because obvious critical data loss (though the case is not common).
On 2013-04-08 15:47:42 +0100, Paul Martin wrote:
> severity 704950 minor
> tags 704950 wontfix
> thanks
>
> On Mon, Apr 08, 2013 at 01:30:20PM +0200, Vincent Lefevre wrote:
> > On 2013-04-08 09:38:17 +
severity 704950 minor
tags 704950 wontfix
thanks
On Mon, Apr 08, 2013 at 01:30:20PM +0200, Vincent Lefevre wrote:
> On 2013-04-08 09:38:17 +0100, Paul Martin wrote:
> > On Sun, Apr 07, 2013 at 11:40:17PM -0500, Vincent Lefevre wrote:
> > > Note that the timezone was changed from Europe/Paris to US
On 2013-04-08 09:38:17 +0100, Paul Martin wrote:
> On Sun, Apr 07, 2013 at 11:40:17PM -0500, Vincent Lefevre wrote:
> > Note that the timezone was changed from Europe/Paris to US/Central
> > earlier this day. This may be related. But I'd expect logrotate to
> > obviously consider UTC time when comp
On Sun, Apr 07, 2013 at 11:40:17PM -0500, Vincent Lefevre wrote:
> Note that the timezone was changed from Europe/Paris to US/Central
> earlier this day. This may be related. But I'd expect logrotate to
> obviously consider UTC time when comparing dates; if it does, this
> cannot explain the above
Package: logrotate
Version: 3.8.3-3
Severity: normal
The last Anacron output shows:
[...]
/etc/cron.daily/logrotate:
error: log /var/log/apache2/access.log last rotated in the future -- rotation
forced
error: log /var/log/apache2/error.log last rotated in the future -- rotation
forced
error: lo
8 matches
Mail list logo