logrotate/logwatch error on fc15

Alex mysqlstudent at gmail.com
Wed Oct 24 15:58:26 UTC 2012


>> I have an fc15 box and I'm having a problem with logwatch. I'm using
>> bzip2 for the compresscmd for logrotate, yet it somehow is giving the
>> compressed files a gz instead of bz2 extension. Logwatch uses this to
>> determine which command to use to read the compressed files, so it
>> therefore is using the wrong command.

> compressext
>               Specifies which extension to use on compressed logfiles, if
> compression is enabled.  The default follows that of the configured
> compression command.
>
> the extension "should follow."

Ah, thanks. Never expected to have to do that.

The script should be written to use 'file' not just parse the extension.

Thanks,
Alex


More information about the users mailing list