You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Mateusz Krawczyk <ma...@gmail.com> on 2018/09/21 05:48:48 UTC

SpamAssassin 3.4.2 - errors Util.pm

Hello,

I have just upgraded SA from 3.4.1 to 3.4.2.

OS: Centos 6.10

spamassassin -V

SpamAssassin version 3.4.2
  running on Perl version 5.10.1

During message scanning there are errors in /var/log/maillog:

Sep 20 11:50:38 spamd[13369]: Use of uninitialized value $( in numeric ne
(!=) at /usr/share/perl5/Mail/SpamAssassin/Util.pm line 1510, <GEN8> line
23.
Sep 20 11:50:38 spamd[13369]: Use of uninitialized value $( in
concatenation (.) or string at /usr/share/perl5/Mail/SpamAssassin/Util.pm
line 1513, <GEN8> line 23.
Sep 20 11:50:38 spamd[13369]: util: setuid: ruid=507 euid=507 rgid=510
egid=510
Sep 20 11:50:38 spamd[13370]: Use of uninitialized value $( in numeric ne
(!=) at /usr/share/perl5/Mail/SpamAssassin/Util.pm line 1510.
Sep 20 11:50:38 spamd[13370]: Use of uninitialized value $( in
concatenation (.) or string at /usr/share/perl5/Mail/SpamAssassin/Util.pm
line 1513.

Any help will be appreciated.

Kind regards,
Mateusz Krawczyk

Re: SpamAssassin 3.4.2 - errors Util.pm

Posted by Mateusz Krawczyk <ma...@gmail.com>.
Good to know that I'm not the only one with Util.pm warnings.

Debug logs from "spamd -D" :

Sep 21 13:59:31 spamd[15151]: check: check_main, time limit in 299.874 s
Sep 21 13:59:31 spamd[15151]: check: running tests for priority: -1000
Sep 21 13:59:31 spamd[15244]: get_user_groups: uid is 507
Sep 21 13:59:31 spamd[15244]: Use of uninitialized value $( in numeric ne
(!=) at /usr/share/perl5/Mail/SpamAssassin/Util.pm line 1510, <GEN8> line
23.
Sep 21 13:59:31 spamd[15244]: Use of uninitialized value $( in
concatenation (.) or string at /usr/share/perl5/Mail/SpamAssassin/Util.pm
line 1513, <GEN8> line 23.
Sep 21 13:59:31 spamd[15244]: util: changing real primary gid from 1 2 3 4
6 10 484 to 510 and supplemental groups to 510 to match effective uid 507
Sep 21 13:59:31 spamd[15244]: util: POSIX::setgid(510) set errno to 0
Sep 21 13:59:31 spamd[15244]: util: assignment $) = 510 510 set errno to 0
Sep 21 13:59:31 spamd[15244]: util: changing real uid from 0 to match
effective uid 507
Sep 21 13:59:31 spamd[15244]: util: setuid: ruid=507 euid=507 rgid=510
egid=510
Sep 21 13:59:32 spamd[15245]: get_user_groups: uid is 507
Sep 21 13:59:32 spamd[15245]: Use of uninitialized value $( in numeric ne
(!=) at /usr/share/perl5/Mail/SpamAssassin/Util.pm line 1510.
Sep 21 13:59:32 spamd[15245]: Use of uninitialized value $( in
concatenation (.) or string at /usr/share/perl5/Mail/SpamAssassin/Util.pm
line 1513.
Sep 21 13:59:32 spamd[15245]: util: changing real primary gid from 1 2 3 4
6 10 484 to 510 and supplemental groups to 510 to match effective uid 507
Sep 21 13:59:32 spamd[15245]: util: POSIX::setgid(510) set errno to 0
Sep 21 13:59:32 spamd[15245]: util: assignment $) = 510 510 set errno to 0
Sep 21 13:59:32 spamd[15245]: util: changing real uid from 0 to match
effective uid 507
Sep 21 13:59:32 spamd[15245]: util: setuid: ruid=507 euid=507 rgid=510
egid=510
Sep 21 13:59:32 spamd[15056]: prefork: child 15151: entering state 1

No problem. I can test patches if I find time.

Regards,
Mateusz


2018-09-21 13:40 GMT+02:00 Kevin A. McGrail <km...@apache.org>:

> We have another report on this issue at https://bz.apache.org/
> SpamAssassin/show_bug.cgi?id=7629
>
> Can you add debug output?  Are you able to test if we can get you a patch?
>
> Bill, it looks like get_user_groups is not always working in Util.pm
>
> Adding this as a blocker for 3.4.3
>
> Regards,
> KAM
>
> On 9/21/2018 1:48 AM, Mateusz Krawczyk wrote:
>
> Hello,
>
> I have just upgraded SA from 3.4.1 to 3.4.2.
>
> OS: Centos 6.10
>
> spamassassin -V
>
> SpamAssassin version 3.4.2
>   running on Perl version 5.10.1
>
> During message scanning there are errors in /var/log/maillog:
>
> Sep 20 11:50:38 spamd[13369]: Use of uninitialized value $( in numeric ne
> (!=) at /usr/share/perl5/Mail/SpamAssassin/Util.pm line 1510, <GEN8> line
> 23.
> Sep 20 11:50:38 spamd[13369]: Use of uninitialized value $( in
> concatenation (.) or string at /usr/share/perl5/Mail/SpamAssassin/Util.pm
> line 1513, <GEN8> line 23.
> Sep 20 11:50:38 spamd[13369]: util: setuid: ruid=507 euid=507 rgid=510
> egid=510
> Sep 20 11:50:38 spamd[13370]: Use of uninitialized value $( in numeric ne
> (!=) at /usr/share/perl5/Mail/SpamAssassin/Util.pm line 1510.
> Sep 20 11:50:38 spamd[13370]: Use of uninitialized value $( in
> concatenation (.) or string at /usr/share/perl5/Mail/SpamAssassin/Util.pm
> line 1513.
>
> Any help will be appreciated.
>
> Kind regards,
> Mateusz Krawczyk
>
>
> --
> Kevin A. McGrail
> VP Fundraising, Apache Software Foundation
> Chair Emeritus Apache SpamAssassin Projecthttps://www.linkedin.com/in/kmcgrail - 703.798.0171
>
>

Re: SpamAssassin 3.4.2 - errors Util.pm

Posted by "Kevin A. McGrail" <km...@apache.org>.
We have another report on this issue at
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7629

Can you add debug output?  Are you able to test if we can get you a patch?

Bill, it looks like get_user_groups is not always working in Util.pm

Adding this as a blocker for 3.4.3

Regards,
KAM
On 9/21/2018 1:48 AM, Mateusz Krawczyk wrote:
> Hello,
>
> I have just upgraded SA from 3.4.1 to 3.4.2.
>
> OS: Centos 6.10
>
> spamassassin -V
>
> SpamAssassin version 3.4.2
>   running on Perl version 5.10.1
>
> During message scanning there are errors in /var/log/maillog:
>
> Sep 20 11:50:38 spamd[13369]: Use of uninitialized value $( in numeric
> ne (!=) at /usr/share/perl5/Mail/SpamAssassin/Util.pm line 1510,
> <GEN8> line 23.
> Sep 20 11:50:38 spamd[13369]: Use of uninitialized value $( in
> concatenation (.) or string at
> /usr/share/perl5/Mail/SpamAssassin/Util.pm line 1513, <GEN8> line 23.
> Sep 20 11:50:38 spamd[13369]: util: setuid: ruid=507 euid=507 rgid=510
> egid=510
> Sep 20 11:50:38 spamd[13370]: Use of uninitialized value $( in numeric
> ne (!=) at /usr/share/perl5/Mail/SpamAssassin/Util.pm line 1510.
> Sep 20 11:50:38 spamd[13370]: Use of uninitialized value $( in
> concatenation (.) or string at
> /usr/share/perl5/Mail/SpamAssassin/Util.pm line 1513.
>
> Any help will be appreciated.
>
> Kind regards,
> Mateusz Krawczyk


-- 
Kevin A. McGrail
VP Fundraising, Apache Software Foundation
Chair Emeritus Apache SpamAssassin Project
https://www.linkedin.com/in/kmcgrail - 703.798.0171