Paul Martin wrote:
> severity 416177 minor
> tags 416177 confirmed wontfix
> thanks
> 
> On Sun, Mar 25, 2007 at 02:57:18PM +0100, Tony Houghton wrote:
> > My time switched to BST (UK's DST) last night. I have it setup
> > "properly" ie the system clock is UTC, not the MS Windows way.  When I
> > ran logrotate on a file today it complained that it had been rotated in
> > the future. I'm not sure exactly why that happened, but I guess it's
> > something to do with logrotate using localtime where it would be better
> > to use gmtime.
> 
> Yes, it does use localtime.
> 
> However, this is unlikely to be a problem for most people, as they don't
> usually rotate files more than once a day. Bear in mind that cron uses
> localtime, too. Fixing this is most likely to cause problems for logrotate's
> most usual purpose, which is rotating logs as part of a daily cron job.
> 
> What would happen in that case is that around summer time changes you would
> get a day when logs didn't get rotated, which could be at the least
> inconvenient for some users.
> 
> Feel free to correct my logic if I'm spouting rubbish.

On my computers, monthly rotated logfiles (namely /var/log/wtmp) got
rotated an additional time on March 25th.  This might be indeed
problematic, as one doesnt expect this behavior, and old log files get
deleted too early.


- Dietrich



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to