On 2014-11-30 13:13, John Hardin wrote:
On Sun, 30 Nov 2014, Reindl Harald wrote:
5)
make the condition to the SA version, there are already ton's of "if (version
> = 3.004000)" rules and so it needs just to depend on SA bigger than 3.4.0
instead of the perl check
why that would work?
well, older RHEL versions as you said won't upgrade SA or perl
that setups would not use the rule, recent ones would
And anyone who is running SA prior to 3.4.0 on perl newer than 5.8.8 (where it
would run just fine) does not get the benefit of the rule, and anyone running
3.4.0 on perl 5.8.8 (which is entirely possible) has their sa-update lint blow
up and they don't get *any* new rules.
The assumption "newer SA = newer perl" is not really justified.
Um, er, ah, <shuffle-feet and diffidently raise a hand>
I'd like to note that I am seeing this warning with SL6.6 loaded from EL6
repository. It's version is 5.10.1. This seems to discredit the word about perl
versions greater than 5.8.8.
Perhaps a plugin could be developed to benignly figure out the version of perl
that is loaded. That could produce a value to be used in the rule parsing
process. Perhaps somebody could figure out what versions of perl really do fail
this way. It seems that there are an interesting plethora of missing data points
to consider here. I'll help such as I can in my feeble way. I'll give up my
recreational time playing with Software Defined Radios. (They're dangerously
addictive fun for some folks with a long history in radio.)
{^_^} Joanne