Your message dated Mon, 20 Feb 2006 08:37:49 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#353662: logrotate: dateext should be aware of file names 
generated by itself
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.1-2
Severity: minor

Hi,

logrotate with the dateext extension happily rotates logs that have
already been rotated, leading to wonderful file names like
ella-20040509.gz-20060215-20060216-20060217-20060218-20060219

This happens as soon as a wildcard (/var/log/foo/* { dateext...}) is
found in the configuration.

Logrotate should exclude files matching the mask of a file name
_generated_ by logrotate from rotation to allow wildcards to be used.

Greetings
Marc

-- Package-specific info:
Contents of /etc/logrotate.d
total 7
-rw-r--r-- 1 root root  79 Apr  7  2005 aptitude
-rw-r--r-- 1 root root 114 Dec  4  2002 cron-apt
-rw-r--r-- 1 root root 111 Sep 26 09:04 dpkg
-rw-r--r-- 1 root root 173 Jun 20  2004 exim4-base
-rw-r--r-- 1 root root 280 Jan  1  2002 ippl
-rw-r--r-- 1 root root  79 Jan 30  2002 lvm-common
-rw-r--r-- 1 root root 291 Feb 11 10:55 sysklogd


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.4-zgsrv
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages logrotate depends on:
ii  anacron                       2.3-11     a cron-like program that doesn't g
ii  base-passwd                   3.5.11     Debian base system master password
ii  cron                          3.0pl1-92  management of regular background p
ii  libc6                         2.3.6-1    GNU C Library: Shared libraries an
ii  libpopt0                      1.7-5      lib for parsing cmdline parameters
ii  libselinux1                   1.28-4     SELinux shared libraries

Versions of packages logrotate recommends:
ii  mailx            1:8.1.2-0.20050715cvs-1 A simple mail user agent

-- no debconf information


--- End Message ---
--- Begin Message ---
On Mon, Feb 20, 2006 at 07:57:00AM +0100, Marc Haber wrote:

> logrotate with the dateext extension happily rotates logs that have
> already been rotated, leading to wonderful file names like
> ella-20040509.gz-20060215-20060216-20060217-20060218-20060219
> 
> This happens as soon as a wildcard (/var/log/foo/* { dateext...}) is
> found in the configuration.
> 
> Logrotate should exclude files matching the mask of a file name
> _generated_ by logrotate from rotation to allow wildcards to be used.

This is no different to using a wildcard with logrotate without using 
dateext. It is documented behaviour:

       Please  use  wildcards  with caution.  If you specify *, logrotate will
       rotate all files, including previously rotated ones.  A way around this
       is  to  use  the  olddir  directive  or  a more exact wildcard (such as
       *.log).

-- 
Paul Martin <[EMAIL PROTECTED]>

--- End Message ---

Reply via email to