Bug 1958939

Summary: Rule package_rear_installed should not be applicable on s390x
Product: Red Hat Enterprise Linux 8 Reporter: Matus Marhefka <mmarhefk>
Component: scap-security-guideAssignee: Vojtech Polasek <vpolasek>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: low Docs Contact:
Priority: unspecified    
Version: 8.4CC: ggasparb, jcerny, matyc, mhaicman, toneata, wsato
Target Milestone: betaKeywords: Reopened, Triaged
Target Release: ---Flags: toneata: needinfo-
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2013553 2013554 (view as bug list) Environment:
Last Closed: 2021-10-13 09:08:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2013553, 2013554    

Description Matus Marhefka 2021-05-10 13:01:16 UTC
Description of problem:
Rule package_rear_installed should be not applicable on s390x as there is no support for the rear package on RHEL8 s390x yet. The support is planned for RHEL-8.5, for more details see https://bugzilla.redhat.com/show_bug.cgi?id=1868421


Version-Release number of selected component (if applicable):
all packages shipped in RHEL8


How reproducible:
always


Steps to Reproduce:
1. oscap xccdf eval --remediate --profile e8 --rule xccdf_org.ssgproject.content_rule_package_rear_installed /usr/share/xml/scap/ssg/content/ssg-rhel8-ds.xml
2.
3.


Actual results:
Remediating package_rear_installed rule on RHEL8 s390x compose results in error.


Expected results:
Remediating package_rear_installed rule on RHEL8 s390x compose results in notapplicable.


Additional info:

Comment 3 Matěj Týč 2021-08-11 15:33:32 UTC
The package should be available on RHEL 8.5.0, so this BZ is now pointless: https://bugzilla.redhat.com/show_bug.cgi?id=1958939

The upstream change that aimed to fix the original issue is aimed to be undone by https://github.com/ComplianceAsCode/content/pull/7380

Comment 4 Matěj Týč 2021-08-18 07:57:29 UTC
So I am changing this to POST, as this BZ now targets 8.4.0 that still suffers from this issue, and it will have to be resolved using a downstream patch.