From e56ff902256344c8d7e03e3b012bb8eb63abe829 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Fri, 19 Aug 2022 18:19:28 +0000 Subject: [PATCH] Auto sync2gitlab import of scap-security-guide-0.1.63-4.el8.src.rpm --- ...4-fix_enable_fips_mode_s390x-PR_9355.patch | 33 +++++++++++++++++++ scap-security-guide.spec | 6 +++- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 scap-security-guide-0.1.64-fix_enable_fips_mode_s390x-PR_9355.patch diff --git a/scap-security-guide-0.1.64-fix_enable_fips_mode_s390x-PR_9355.patch b/scap-security-guide-0.1.64-fix_enable_fips_mode_s390x-PR_9355.patch new file mode 100644 index 0000000..e5132c3 --- /dev/null +++ b/scap-security-guide-0.1.64-fix_enable_fips_mode_s390x-PR_9355.patch @@ -0,0 +1,33 @@ +From 61ff9fd6f455ee49608cab2c851a3819c180c30a Mon Sep 17 00:00:00 2001 +From: Watson Sato +Date: Tue, 16 Aug 2022 18:53:02 +0200 +Subject: [PATCH] Don't fail rule if /etc/grubenv missing on s390x + +There is no need to check /etc/grubenv for fips=1 on s390x systems, it +uses zIPL. +--- + .../integrity/fips/enable_fips_mode/oval/shared.xml | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +diff --git a/linux_os/guide/system/software/integrity/fips/enable_fips_mode/oval/shared.xml b/linux_os/guide/system/software/integrity/fips/enable_fips_mode/oval/shared.xml +index 65056a654c6..7af675de0d3 100644 +--- a/linux_os/guide/system/software/integrity/fips/enable_fips_mode/oval/shared.xml ++++ b/linux_os/guide/system/software/integrity/fips/enable_fips_mode/oval/shared.xml +@@ -7,9 +7,16 @@ + + + +- {{% if product in ["ol8","rhel8"] %}} ++ {{% if product in ["ol8"] %}} + ++ {{% elif product in ["rhel8"] %}} ++ ++ ++ ++ + {{% endif %}} + + diff --git a/scap-security-guide.spec b/scap-security-guide.spec index 088ccfa..db7efc0 100644 --- a/scap-security-guide.spec +++ b/scap-security-guide.spec @@ -6,7 +6,7 @@ Name: scap-security-guide Version: 0.1.63 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Security guidance and baselines in SCAP formats License: BSD-3-Clause Group: Applications/System @@ -34,6 +34,7 @@ Patch12: scap-security-guide-0.1.64-add_platform_for_partition_existence-PR_920 Patch13: scap-security-guide-0.1.64-apply_partition_platform_to_rules-PR_9324.patch Patch14: scap-security-guide-0.1.64-improve_handling_of_rsyslog_includes-PR_9326.patch Patch15: scap-security-guide-0.1.64-fix_ansible_partition_conditional-PR_9339.patch +Patch16: scap-security-guide-0.1.64-fix_enable_fips_mode_s390x-PR_9355.patch BuildRequires: libxslt BuildRequires: expat @@ -138,6 +139,9 @@ cp -r %{_builddir}/%{_static_rhel6_content}/guides %{buildroot}%{_docdir}/%{name %endif %changelog +* Wed Aug 17 2022 Watson Sato - 0.1.63-4 +- Fix check of enable_fips_mode on s390x (RHBZ#2070564) + * Mon Aug 15 2022 Watson Sato - 0.1.63-3 - Fix Ansible partition conditional (RHBZ#2032403)