On Wed, Jan 10, 2018 at 03:10:52PM +0000, Martin Gregorie wrote:
> On Wed, 2018-01-10 at 09:09 -0500, Kevin A. McGrail wrote:
> > Anyone having issues with Sha1 failures on their machines on sa-
> > updates?
> > 
> No problems are being reported. The log just shows a single 'Update
> completed' line for each weekly update.
> 
> > Anyone familiar with sa-update.cron so we can try and get more data
> > on this bug below?
> 
> $ sa-update --version
> sa-update version svn1652181
>   running on Perl version 5.26.1
> 
> I'm running on RedHat Fedora 27, which files older logrotated sa-update 
> logs as 
>       /var/log/sa-update.log-2ccyymmdd 
> 
> and the current log as 
> 
>       /var/log/sa-update.log
> 
> The update defaults to being run from /etc/cron.weekly/sa-update, which
> runs /usr/bin/sa-update without any other parameters and does nothing
> else except for decoding the exit code and mailing all output to root:
> I think its the standard SA script.
> 

My homegrown script is NOT complaining:
thebighonker.lerctr.org /home/ler $ cat 
/usr/local/etc/mail/spamassassin/update-rules.sh
#!/bin/sh
PATH=$PATH:/usr/local/bin
export PATH
/usr/local/bin/sa-update
EXIT=$?
case $EXIT in
        0)
           /usr/local/bin/sa-compile
           kill -1 `cat /var/run/spamd/spamd.pid`;;
        *) ;;
esac
thebighonker.lerctr.org /home/ler $

Output from today:
Jan 10 06:22:06.726 [64001] info: generic: base extraction starting. this can 
take a while...
Jan 10 06:22:06.726 [64001] info: generic: extracting from rules of type body_0

100% Completed 3339.20 rules/sec in 00m00s
.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
100% Completed  59.40 bases/sec in 01m49s
Jan 10 06:23:56.306 [64001] info: body_0: 4668 base strings extracted in 110 
seconds
Jan 10 06:23:56.833 [64001] info: rules: meta test KAM_UAH_YAHOOGROUP_SENDER 
has dependency 'FORGED_YAHOO_RCVD' with a zero score
Jan 10 06:23:56.834 [64001] info: rules: meta test KAM_PAYPAL2 has dependency 
'KAM_RAPTOR' with a zero score
Jan 10 06:23:56.835 [64001] info: rules: meta test CONFIRMED_FORGED has 
dependency 'FORGED_YAHOO_RCVD' with a zero score
Jan 10 06:23:56.836 [64001] info: rules: meta test KAM_VERY_MALWARE has 
dependency 'KAM_RAPTOR' with a zero score
Jan 10 06:23:56.837 [64001] info: rules: meta test KAM_REALLY_FAKE_DELIVER has 
dependency 'KAM_RPTR_PASSED' with a zero score
Jan 10 06:23:56.837 [64001] info: rules: meta test SPOOFED_FREEM_REPTO_RUS has 
dependency 'FORGED_YAHOO_RCVD' with a zero score
Jan 10 06:23:56.840 [64001] info: rules: meta test KAM_GRABBAG5 has dependency 
'FORGED_YAHOO_RCVD' with a zero score
Jan 10 06:23:56.842 [64001] info: rules: meta test MULTI_FORGED has dependency 
'FORGED_YAHOO_RCVD' with a zero score
Jan 10 06:23:56.842 [64001] info: rules: meta test KAM_BBB has dependency 
'KAM_RAPTOR' with a zero score
Jan 10 06:23:56.842 [64001] info: rules: meta test KAM_JURY has dependency 
'KAM_RAPTOR' with a zero score
Jan 10 06:23:56.842 [64001] info: rules: meta test KAM_FAKE_DELIVER has 
dependency 'KAM_RAPTOR' with a zero score
Jan 10 06:23:56.844 [64001] info: rules: meta test KAM_NOTIFY2 has dependency 
'KAM_IFRAME' with a zero score
Jan 10 06:23:56.849 [64001] info: rules: meta test KAM_AMAZON has dependency 
'KAM_RAPTOR' with a zero score
Jan 10 06:23:56.850 [64001] info: rules: meta test SPOOFED_FREEM_REPTO_CHN has 
dependency 'FORGED_YAHOO_RCVD' with a zero score
Jan 10 06:23:56.854 [64001] info: rules: meta test KAM_PHISHY_DOLLARS has 
dependency 'KAM_RAPTOR' with a zero score
Jan 10 06:23:56.858 [64001] info: rules: meta test JMQ_CONGRAT has dependency 
'KAM_RAPTOR' with a zero score
Jan 10 06:23:56.859 [64001] info: rules: meta test KAM_BADPDF2 has dependency 
'KAM_RPTR_SUSPECT' with a zero score
Jan 10 06:23:56.862 [64001] info: rules: meta test KAM_VOICEMAIL has dependency 
'KAM_RAPTOR' with a zero score
Jan 10 06:23:56.862 [64001] info: rules: meta test KAM_FORGED_ATTACHED has 
dependency 'KAM_RAPTOR' with a zero score
Jan 10 06:23:56.864 [64001] info: rules: meta test KAM_EVICTION has dependency 
'KAM_RAPTOR' with a zero score
Jan 10 06:23:56.866 [64001] info: rules: meta test KAM_CARD has dependency 
'KAM_RPTR_SUSPECT' with a zero score
cd /tmp/.spamassassin64001KeIeSXtmp
reading bases_body_0.in
cd Mail-SpamAssassin-CompiledRegexps-body_0
re2c -i -b -o scanner1.c scanner1.re
re2c -i -b -o scanner2.c scanner2.re
re2c -i -b -o scanner3.c scanner3.re
re2c -i -b -o scanner4.c scanner4.re
re2c -i -b -o scanner5.c scanner5.re
re2c -i -b -o scanner6.c scanner6.re
re2c -i -b -o scanner7.c scanner7.re
re2c -i -b -o scanner8.c scanner8.re
re2c -i -b -o scanner9.c scanner9.re
re2c -i -b -o scanner10.c scanner10.re
re2c -i -b -o scanner11.c scanner11.re
re2c -i -b -o scanner12.c scanner12.re
re2c -i -b -o scanner13.c scanner13.re
re2c -i -b -o scanner14.c scanner14.re
re2c -i -b -o scanner15.c scanner15.re
re2c -i -b -o scanner16.c scanner16.re
re2c -i -b -o scanner17.c scanner17.re
re2c -i -b -o scanner18.c scanner18.re
re2c -i -b -o scanner19.c scanner19.re
re2c -i -b -o scanner20.c scanner20.re
re2c -i -b -o scanner21.c scanner21.re
re2c -i -b -o scanner22.c scanner22.re
re2c -i -b -o scanner23.c scanner23.re
re2c -i -b -o scanner24.c scanner24.re
/usr/local/bin/perl5.24.3 Makefile.PL 
PREFIX=/tmp/.spamassassin64001KeIeSXtmp/ignored 
INSTALLSITEARCH=/var/db/spamassassin/compiled/5.024/3.004001
Generating a Unix-style Makefile
Writing Makefile for Mail::SpamAssassin::CompiledRegexps::body_0
Writing MYMETA.yml and MYMETA.json
make
cp body_0.pm blib/lib/Mail/SpamAssassin/CompiledRegexps/body_0.pm
Running Mkbootstrap for body_0 ()
chmod 644 "body_0.bs"
"/usr/local/bin/perl5.24.3" -MExtUtils::Command::MM -e 'cp_nonempty' -- 
body_0.bs blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.bs 644
"/usr/local/bin/perl5.24.3" "/usr/local/lib/perl5/site_perl/ExtUtils/xsubpp"  
-typemap '/usr/local/lib/perl5/5.24/ExtUtils/typemap'  body_0.xs > body_0.xsc
mv body_0.xsc body_0.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
body_0.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner1.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner10.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner11.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner12.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner13.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner14.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner15.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner16.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner17.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner18.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner19.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner2.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner20.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner21.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner22.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner23.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner24.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner3.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner4.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner5.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner6.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner7.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner8.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"1.0\"  
-DXS_VERSION=\"1.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   
scanner9.c
rm -f blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
cc  -shared  -L/usr/local/lib/perl5/5.24/mach/CORE -lperl -L/usr/local/lib 
-fstack-protector-strong  body_0.o  scanner1.o  scanner10.o  scanner11.o  
scanner12.o  scanner13.o  scanner14.o  scanner15.o  scanner16.o  scanner17.o  
scanner18.o  scanner19.o  scanner2.o  scanner20.o  scanner21.o  scanner22.o  
scanner23.o  scanner24.o  scanner3.o  scanner4.o  scanner5.o  scanner6.o  
scanner7.o  scanner8.o  scanner9.o  -o 
blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so        
chmod 755 blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
Manifying 1 pod document
make install
"/usr/local/bin/perl5.24.3" -MExtUtils::Command::MM -e 'cp_nonempty' -- 
body_0.bs blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.bs 644
Manifying 1 pod document
Files found in blib/arch: installing files in blib/lib into architecture 
dependent library tree
Installing 
/var/db/spamassassin/compiled/5.024/3.004001/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
Installing 
/var/db/spamassassin/compiled/5.024/3.004001/Mail/SpamAssassin/CompiledRegexps/body_0.pm
Installing 
/tmp/.spamassassin64001KeIeSXtmp/ignored/lib/perl5/site_perl/man/man3/Mail::SpamAssassin::CompiledRegexps::body_0.3
Appending installation info to 
/tmp/.spamassassin64001KeIeSXtmp/ignored/lib/perl5/5.24/mach/perllocal.pod
cp /tmp/.spamassassin64001KeIeSXtmp/bases_body_0.pl 
/var/db/spamassassin/compiled/5.024/3.004001/bases_body_0.pl
cd /
rm -rf /tmp/.spamassassin64001KeIeSXtmp

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: l...@lerctr.org
US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106

Reply via email to