Package: logrotate Version: 3.7-5 Severity: minor Tags: patch
The manpage contains several sentences with the same mistake: the use of "then" instead of "than". The attached patch corrects this problem. -- Package-specific info: Contents of /etc/logrotate.d total 72 -rw-r--r-- 1 root root 79 Feb 16 2004 aptitude -rw-r--r-- 1 root root 384 Mar 5 2004 base-config -rw-r--r-- 1 root root 173 Apr 20 2002 bsmtpd -rw-r--r-- 1 root root 162 Jul 9 15:49 checksecurity -rw-r--r-- 1 root root 206 Jul 17 22:23 cupsys -rw-r--r-- 1 root root 111 Jun 28 15:22 dpkg -rw-r--r-- 1 root root 151 Sep 23 2004 iptraf -rw-r--r-- 1 root root 261 Dec 17 2003 isdnlog -rw-r--r-- 1 root root 112 Jan 23 2004 mgetty -rw-r--r-- 1 root root 82 May 13 2004 mixmaster -rw-r--r-- 1 root root 136 Mar 10 2004 postgresql -rw-r--r-- 1 root root 94 Feb 29 2004 ppp -rw-r--r-- 1 root root 403 Feb 4 2005 quagga -rw-r--r-- 1 root root 330 May 27 09:19 samba -rw-r--r-- 1 root root 1713 Feb 27 2004 sendmail -rw-r--r-- 1 root root 285 Apr 20 21:22 stunnel4 -rw-r--r-- 1 root root 298 Mar 28 2004 uucp -rw-r--r-- 1 root root 335 Jun 1 08:03 xdm -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (900, 'testing'), (50, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.13.3 Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1) Versions of packages logrotate depends on: ii base-passwd 3.5.10 Debian base system master password ii cron 3.0pl1-87 management of regular background p ii libc6 2.3.5-6 GNU C Library: Shared libraries an ii libpopt0 1.7-5 lib for parsing cmdline parameters Versions of packages logrotate recommends: ii mailx 1:8.1.2-0.20050715cvs-1 A simple mail user agent -- no debconf information
diff -u -r logrotate-3.7.1/logrotate.8 logrotate-new/logrotate.8 --- logrotate-3.7.1/logrotate.8 2003-08-07 13:13:14.000000000 +0200 +++ logrotate-new/logrotate.8 2005-10-14 22:17:37.000000000 +0200 @@ -119,7 +119,7 @@ \fI/var/log/httpd/access.log\fR and \fI/var/log/httpd/error.log\fR. They are rotated whenever is grows over 100k is size, and the old logs files are mailed (uncompressed) to [EMAIL PROTECTED] after going through 5 -rotations, rather then being removed. The \fBsharedscripts\fR means that +rotations, rather than being removed. The \fBsharedscripts\fR means that the \fBpostrotate\fR script will only be run once, not once for each log which is rotated. Note that the double quotes around the first filename at the beginning of this section allows logrotate to rotate logs with @@ -128,7 +128,7 @@ The last section defines the parameters for all of the files in \fI/var/log/news\fR. Each file is rotated on a monthly basis. This is -considered a single rotation directive and if errors occur for more then +considered a single rotation directive and if errors occur for more than one file, the log files are not compressed. Please use wildcards with caution. If you specify *, \fBlogrotate\fR will @@ -346,11 +346,11 @@ \fBrotate \fIcount\fR Log files are rotated <count> times before being removed or mailed to the address specified in a \fBmail\fR directive. If \fIcount\fR is 0, old versions -are removed rather then rotated. +are removed rather than rotated. .TP \fBsize \fIsize\fR -Log files are rotated when they grow bigger then \fIsize\fR bytes. If +Log files are rotated when they grow bigger than \fIsize\fR bytes. If \fIsize\fR is followed by \fIM\fR, the size if assumed to be in megabytes. If the \fIk\fR is used, the size is in kilobytes. So \fBsize 100\fR, \fIsize 100k\fR, and \fIsize 100M\fR are all valid. @@ -384,8 +384,8 @@ .TP \fBweekly\fR -Log files are rotated if the current weekday is less then the weekday -of the last rotation or if more then a week has passed since the last +Log files are rotated if the current weekday is less than the weekday +of the last rotation or if more than a week has passed since the last rotation. This is normally the same as rotating logs on the first day of the week, but it works better if \fIlogrotate\fR is not run every night.

