FTR: I'm on Centos 7
will test fixes
On 7/21/21 4:44 AM, Jared Hall wrote:
Axb wrote:
what is this about? seems like a massive bug
______________________
* 0.0 SYSTEM_INFO CHAOS: v1.2.1 SA: v3.4.6 PERL: v5.16.3 - This
* system rocks!CHAOS: v1.2.1 SA: v3.4.6 PERL: v5.16.3 - CHAOS:
* v1.2.1 SA: v3.4.6 PERL: v5.16.3 - This system rocks!CHAOS:
* v1.2.1 SA: v3.4.6 PERL: v5.16.3 - CHAOS: v1.2.1 SA: v3.4.6
* PERL: v5.16.3 - This system rocks!CHAOS: v1.2.1 SA: v3.4.6
* PERL: v5.16.3 - CHAOS: v1.2.1 SA: v3.4.6 PERL: v5.16.3 - This
It works fine on 5.18.2 and 5.26.1. However, I fixed a couple of
blatant errors:
1) perl syntax check (-c) issued warning due to $domain variable only
used once. NOTE TO SELF: Avoid using undef in SA PerMsgStatus object
references.
2) To your issue, I was concatenating a $description variable onto
itself; never a good thing to do. I suppose that's called a "stray cat" :)
Also, there are a couple of other fixes I've included:
3) I changed PERL version checks to use $] with some string manipulation
instead of $^V in case I ever hear from anybody running PERL < 5.10.
4) Removed three MYTOB subject references that shouldn't be looked at
anymore (part of JR_ADMIN_FRAUD rule). In AutoISP mode, that's a
heavy-scoring rule. Ouch.
5) Added a sanity-check of the "Vanity" rule "SYSTEM_INFO" to keep the
Eval modifier within range.
6) Some documentation cleanup for better formatting using pod2markdown
required for GitHub.
There's a couple of things I wanted to add, but I pushed these fixes out
tonight as CHAOS version 1.2.2.
https://github.com/telecom2k3/CHAOS
FWIW, I do list PERL 5.18 as a prerequisite but I'll go the extra mile
for a Ninja. I went out in the garage this morning and pulled out an
old Dell PowerEdge that had CentOs 6 on it. Unfortunately it didn't
recognize the drives; SCSI RAID controller probably. So please let me
know if it works OK on PERL 5.16.
Sincere Thanks,
-- Jared Hall