Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2013 20:03:07 +0200
From:      Mark Martinec <Mark.Martinec@ijs.si>
To:        freebsd-ports@freebsd.org
Subject:   Re: amavis[12345]: (12345-02) (!)file utility failed: exit 1
Message-ID:  <201310232003.07485.Mark.Martinec@ijs.si>
In-Reply-To: <006005D4-8E88-4D5F-B614-DEA24072F7AC@odo.in-berlin.de>
References:  <A85E05D6-DB7B-441A-90DE-43C2B0ADE951@odo.in-berlin.de> <201310231649.25418.Mark.Martinec%2Bfreebsd@ijs.si> <006005D4-8E88-4D5F-B614-DEA24072F7AC@odo.in-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael,

> | (50329-01) run_command: [3984] /usr/local/bin/file p001 </dev/null 2>&1
> | (50329-01) result line from file(1): p001:
> |   ERROR: line 163: regex error 17, (illegal byte sequence)\n
> | (50329-01) (!)file utility failed: exit 1

The text "ERROR: line 163: regex error 17, (illegal byte sequence)"
comes from the file utility, unmodified.

> 1) Is the file utility to blame?

Yes.

> 2) My setup?

Possibly (e.g. broken magic database).


Looks like a known bug in the file utility, already fixed upstream:

  http://bugs.gw.com/my_view_page.php
    (search for: illegal byte sequence)

Should be reproducible by running the file(1) from a command line
(in the same/similar environment as amavisd is running, just in case).

  Mark



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310232003.07485.Mark.Martinec>