sweep 374 - virus found but no name

shrek-m at gmx.de shrek-m at GMX.DE
Mon Sep 29 21:05:31 IST 2003


Mike Brudenell wrote:

> Greetings -
>
> A little earlier this afternoon Julian suggested applying this patch
> to the
> sophos-wrapper script...
>
>    Apply this patch to /usr/lib/MailScanner/sophos-wrapper
>
>    --------------------------SNIP---------------------
>    --- sophos-wrapper.old 2003-08-09 12:04:02.000000000 +0100
>    +++ sophos-wrapper      2003-09-29 15:30:00.000000000 +0100
>    @@ -38,8 +38,10 @@
>
>      SAV_IDE=$PackageDir/ide
>      LD_LIBRARY_PATH=$PackageDir/lib
>    +LANG=english
>      export SAV_IDE
>      export LD_LIBRARY_PATH
>    +export LANG
>
>      if [ "x$1" = "x-IsItInstalled" ]; then
>        [ -x ${PackageDir}/bin/$prog ] && exit 0
>    --------------------------SNIP---------------------
>
> Unfortunately this cause this script to emit the warning message
>
>    couldn't set locale correctly
>
> when run from, for example, bin/update_virus_scanners.  It seems to come
> from the point where the LANG environment variable actually gets set.
>

an other possibiliy could be

LANG=C
or
LANG=POSIX


# export LANG=none
# /usr/lib/MailScanner/sophos-autoupdate
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "none"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
[...]


can you see it ?

  Standard locale "C"

--
shrek-m



More information about the MailScanner mailing list