Your message dated Sat, 08 Apr 2006 15:32:18 -0700 with message-id <[EMAIL PROTECTED]> and subject line Bug#278591: fixed in logrotate 3.7.1-3 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: logrotate Version: 3.7-2 Severity: normal Tags: patch If you call logrotate once a week between 00:00 and 01:00 AM and daylight saving time is in effect, "weekly" rotations will be done only once in two weeks. E.g., the following crontab won't work as expected: 12 0 * * 1 /usr/sbin/logrotate logrotate uses the tm struct "lastRotated" in order to find out whether a logfile needs rotating. "lastRotated" is filled by first setting everything to zero, then setting the mday, month and year of the last rotation and then calling mktime(3) in order to normalize the rest of the struct. The problem is that if daylight saving time is in effect, mktime() will increment "lastRotated.tm_isdst" from 0 to 1 and push "lastRotated" by one hour. Hence, the current time will be compared with the day of the last rotation, 01:00 AM. This can be solved by setting lastRotated.tm_isdst correctly prior to the mktime() call. *** logrotate-3.7-2-dst.patch --- logrotate.c.orig 2004-02-05 19:42:13.000000000 +0100 +++ logrotate.c 2004-10-28 01:22:30.000000000 +0200 @@ -62,6 +62,7 @@ states[i].lastRotated.tm_mon = now.tm_mon; states[i].lastRotated.tm_mday = now.tm_mday; states[i].lastRotated.tm_year = now.tm_year; + states[i].lastRotated.tm_isdst = now.tm_isdst; /* fill in the rest of the st->lastRotated fields */ lr_time = mktime(&states[i].lastRotated); -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.4.26-1um Locale: LANG=C, LC_CTYPE=de_DE.ISO8859-1 Versions of packages logrotate depends on: ii base-passwd 3.5.7 Debian base system master password ii cron 3.0pl1-86 management of regular background p ii libc6 2.3.2.ds1-18 GNU C Library: Shared libraries an ii libpopt0 1.7-5 lib for parsing cmdline parameters -- no debconf information
--- End Message ---
--- Begin Message ---Source: logrotate Source-Version: 3.7.1-3 We believe that the bug you reported is fixed in the latest version of logrotate, which is due to be installed in the Debian FTP archive: logrotate_3.7.1-3.diff.gz to pool/main/l/logrotate/logrotate_3.7.1-3.diff.gz logrotate_3.7.1-3.dsc to pool/main/l/logrotate/logrotate_3.7.1-3.dsc logrotate_3.7.1-3_i386.deb to pool/main/l/logrotate/logrotate_3.7.1-3_i386.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Paul Martin <[EMAIL PROTECTED]> (supplier of updated logrotate package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Sat, 8 Apr 2006 23:02:19 +0100 Source: logrotate Binary: logrotate Architecture: source i386 Version: 3.7.1-3 Distribution: unstable Urgency: low Maintainer: Paul Martin <[EMAIL PROTECTED]> Changed-By: Paul Martin <[EMAIL PROTECTED]> Description: logrotate - Log rotation utility Closes: 278591 284040 304038 308920 308963 330783 333996 335060 340363 349150 361465 Changes: logrotate (3.7.1-3) unstable; urgency=low . * Patch debian/control to fix FTBFS on kfreebsd-amd64. Perhaps we need a build-depends macro for !kfreebsd. (Closes: #361465) * Use and depend on debhelper version 5. * Switch from dpatch to quilt. * cpp-crossbuild.patch: change from using $(CPP) to $(CC) -E. Thanks to NIIBE Yutaka. (Closes: #284040) * dst.patch: fix mktime initialisation so that daylight savings is taken into account. Thanks to Holger Weiss. (Closes: #278591) * man-333996.patch: fix typos in logrotate.8 where "then" should be "than". Thanks to Adrian Knoth. (Closes: #333996) * manpage.patch: Apply missed fixes from #101272. Thanks to J S Bygott. (Closes: #335060) * script-argument.patch: Allow the use of $1 in scripts again. (Closes: #330783) * README.Debian: Document that sysklogd does its own log rotation. (Closes: #308963) * README.Debian: Document how scripts are called. (Closes: #308920) * Update the copyright file. * debian/control: remove versioned dependency on cron. The version of cron forbidden pre-dates woody (currently "oldstable") by several years. This versioned dependency is preventing logrotate being installed with bcron. (Closes: #304038, #349150) * debian/rules: Fix backports, allowing them to use selinux. (Closes: #340363) * uncompressChild-warning.patch: Fix a "might be used uninitialised" warning from gcc. Files: aa52bf71a76b6434041fb3c163acee03 640 admin important logrotate_3.7.1-3.dsc 7b0dd9835339bbf85f106d4adb25cf0c 23547 admin important logrotate_3.7.1-3.diff.gz 0e9a3c4c756b269f82b09bc0a3651806 36608 admin important logrotate_3.7.1-3_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEODZa+gi+rt7UWRIRAlIbAJ9ZFYg0p5cBvkkS+Xprzixci6u7JQCghqzg d3d3JknjOl+QhUpwxNaO5M8= =9RY0 -----END PGP SIGNATURE-----
--- End Message ---

