I am trying to patch a Scientific Linux box (we have about 20 of them floating around). I have created a custom site and have the box showing up in there. I have also taken the RHEL 7 Fixlets and imported them into this custom site. The issue I am running into now is with the relevance. I know that for this to work I am going to need to tweak the relevance of the Fixlet and then possibly the action script as well. Below is what I have adjusted in my relevance (swapped Scientific Linux release 7.3 for the RHEL 7 info) but the patch is still not showing as applicable for the box.
Relevance 1:
(version of client >= “8.2”) AND (name of operating system starts with “Linux Red Hat”) AND ((it = “x86_64”) of architecture of operating system) AND (exists file “/etc/redhat-release” whose (exists line whose (exists match (regex “Scientific Linux release 7.3”) of it) of it) AND NOT exists file “/etc/vmware-release” whose (exists line whose (it contains “VMware ESX”) of it) AND NOT exists file “/etc/enterprise-release” whose (exists line whose (it contains “Enterprise Linux Enterprise Linux”) of it)) AND (if exists property “in proxy agent context” then (not in proxy agent context) else true) AND (if exists property “android” of type “operating system” then (not android of operating system) else true)
Relevance 2:
(architecture of operating system = “x86_64”)
Relevance 3:
((exists package “firefox” whose (rpm version record of it < rpm package version record “45.7.0-1.el7_3” AND architecture of it = “i686”) of it AND (not exists package “firefox” whose (rpm version record of it >= rpm package version record “45.7.0-1.el7_3” AND architecture of it = “i686”) of it)) OR (exists package “firefox” whose (rpm version record of it < rpm package version record “45.7.0-1.el7_3” AND architecture of it = “x86_64”) of it AND (not exists package “firefox” whose (rpm version record of it >= rpm package version record “45.7.0-1.el7_3” AND architecture of it = “x86_64”) of it)) ) of rpm
Relevance 4:
exists file “/etc/redhat-release” whose (exists line whose (exists match (regex “Scientific Linux release 7.3”) of it) of it)
I’d also be interested to hear from others who might be patching Scientific Linux and if this is the preferred method or if there are any other ideas.