Odd emit when starting amavisd 2.8.0
Quanah Gibson-Mount
quanah at zimbra.com
Fri Jul 13 18:03:50 CEST 2012
I just upgraded to amavisd-new 2.8.0, and I see the following emitted when
I start up:
zimbra at zre-ldap002:~$ zmamavisdctl start
Starting amavisd...Amavis::Util: can't obtain a tainted string at
/opt/zimbra/amavisd/sbin/amavisd line 2609.
done.
zimbra at zre-ldap002:~$ echo $?
0
It doesn't appear to stop amavis from running:
zimbra at zre-ldap002:~$ ps -eaf | grep amavis
zimbra 6174 1 0 09:01 ? 00:00:00
/opt/zimbra/amavisd/sbin/amavisd (master)
zimbra 6175 6174 0 09:01 ? 00:00:00
/opt/zimbra/amavisd/sbin/amavisd (virgin child)
zimbra 6176 6174 0 09:01 ? 00:00:00
/opt/zimbra/amavisd/sbin/amavisd (virgin child)
zimbra 6177 6174 0 09:01 ? 00:00:00
/opt/zimbra/amavisd/sbin/amavisd (virgin child)
zimbra 6178 6174 0 09:01 ? 00:00:00
/opt/zimbra/amavisd/sbin/amavisd (virgin child)
zimbra 6179 6174 0 09:01 ? 00:00:00
/opt/zimbra/amavisd/sbin/amavisd (virgin child)
zimbra 6180 6174 0 09:01 ? 00:00:00
/opt/zimbra/amavisd/sbin/amavisd (virgin child)
zimbra 6181 6174 0 09:01 ? 00:00:00
/opt/zimbra/amavisd/sbin/amavisd (virgin child)
zimbra 6182 6174 0 09:01 ? 00:00:00
/opt/zimbra/amavisd/sbin/amavisd (virgin child)
zimbra 6183 6174 0 09:01 ? 00:00:00
/opt/zimbra/amavisd/sbin/amavisd (virgin child)
zimbra 6184 6174 0 09:01 ? 00:00:00
/opt/zimbra/amavisd/sbin/amavisd (virgin child)
zimbra 6195 3166 0 09:01 pts/0 00:00:00 grep amavis
The block in question is:
2602 use vars qw($enc_ascii $enc_utf8 $enc_tainted);
2603 BEGIN {
2604 $enc_ascii = Encode::find_encoding('ascii');
2605 $enc_utf8 = Encode::find_encoding('UTF-8');
2606 $enc_ascii or die "Amavis::Util: unknown encoding 'ascii'";
2607 $enc_utf8 or die "Amavis::Util: unknown encoding 'UTF-8'";
2608 $enc_tainted = substr($ENV{PATH}.$ENV{HOME}, 0,0); # tainted empty
string
2609 tainted($enc_tainted) or warn "Amavis::Util: can't obtain a tainted
string";
2610 1;
2611 }
Any idea what the cause is?
Thanks,
Quanah
--
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
More information about the amavis-users
mailing list