[Logcheck-devel] Bug#441388: Bug#441388: There is a problem with hardcoded .gz extension as well

Marc Haber mh+debian-packages at zugschlus.de
Tue Sep 11 05:54:35 UTC 2007


On Mon, Sep 10, 2007 at 09:49:10AM +0200, Michał Jęczalik wrote:
>    if (-e "$filename.0" && (mtime("$filename.0") > 
> mtime("$filename.1.gz")) ) {
> 
> And then, if you i.e. use bzip2 or no compression at all, the whole 
> logtail2 exits due to exit() in mtime(), because it cannot stat an 
> unexisting file.

That's a duplicate bug, and the original bug has a patch.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190






More information about the Logcheck-devel mailing list