Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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-
pm-rhel: mirror+
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.