[exim-dev] [Bug 1334] lack of support for other compression …

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Todd Lyons
Datum:  
To: exim-dev
Alte Treads: [exim-dev] [Bug 1334] New: lack of support for other compression types
Betreff: [exim-dev] [Bug 1334] lack of support for other compression types
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1334




--- Comment #9 from Todd Lyons <tlyons@???> 2013-10-13 01:03:56 ---
On Sat, Oct 12, 2013 at 11:50 AM, Arkadiusz Miskiewicz <arekm@???> wrote:
> Works fine here with regular file, gz, bz2, xz, lzma.
>
> There is one problem. If which doesn't find the decompression command then
> exigrep tries to execute log file directly which doesn't look sane.


Append to the which command:

2>/dev/null

> $ LC_ALL=C exigrep arekm main.log.lzma.bz2


Do you actually lzma your files and then bzip them after that?

> which: no bzcat in (/bin:/sbin:/usr/bin:/usr/sbin)
> Can't exec "main.log.lzma.bz2": No such file or directory at /usr/bin/exigrep
> line 203.
> Unable to decompress main.log.lzma.bz2: No such file or directory


I'll see if I can reproduce that in some way.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email