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

Pàgina inicial
Delete this message
Reply to this message
Autor: Arkadiusz Miskiewicz
Data:  
A: exim-dev
Assumptes vells: [exim-dev] [Bug 1334] New: lack of support for other compression types
Assumpte: [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 #8 from Arkadiusz Miskiewicz <arekm@???> 2013-10-12 19:50:24 ---
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.

$ LC_ALL=C exigrep arekm main.log.lzma.bz2
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

[pid 9008] execve("/bin/main.log.lzma.bz2", ["main.log.lzma.bz2"], [/* 26 vars
*/]) = -1 ENOENT (No such file or directory)
[pid 9008] execve("/sbin/main.log.lzma.bz2", ["main.log.lzma.bz2"], [/* 26
vars */]) = -1 ENOENT (No such file or directory)
[pid 9008] execve("/usr/bin/main.log.lzma.bz2", ["main.log.lzma.bz2"], [/* 26
vars */]) = -1 ENOENT (No such file or directory)
[pid 9008] execve("/usr/sbin/main.log.lzma.bz2", ["main.log.lzma.bz2"], [/* 26
vars */]) = -1 ENOENT (No such file or directory)


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