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) > log->rotateAge))) { i.e. a comparison of UTC times! If logrotate compares UTC times here, then there's no reason why it cannot do that at some other places, in particular if the goal is to detect whether a file has been modified in the future. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org