tags 96153 wontfix
thanks

On Sat, Sep 03, 2005 at 02:15:35AM -0400, Tom Metro wrote:
> Paul Martin writes:
> >Bear in mind, also that the current version in unstable doesn't
> >understand that syntax any more (due to upstream changes).
> 
> That must have changed, as 3.7-5 (stable) still works with a wildcard.

Yes, it got reimplemented. The glob-based bugs (eg. directory removed by 
dpkg --remove, but logrotate script remains and conf file uses 
wildcards) are the result.

This problem is now documented in the manpage:

       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).

Similarly, the glob misbehaviour is documented:

       If the directory /var/log/news does not exist, this will  cause  logro-
       tate  to report an error. This error cannot be stopped with the missin-
       gok directive.

-- 
Paul Martin <[EMAIL PROTECTED]>


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

Reply via email to