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.
DescriptionMangirdas Judeikis
2021-01-08 11:52:04 UTC
Description of problem:
With latest SCAP package we are getting false positive results for
xccdf_org.ssgproject.content_rule_selinux_policytype
Version-Release number of selected component (if applicable):
[cloud-user@master-000001 ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.9 (Maipo)
Works:
[root@master-000000 ~]# rpm -qa | grep openscap
openscap-scanner-1.2.10-3.el7_3.x86_64
openscap-utils-1.2.10-3.el7_3.x86_64
openscap-1.2.10-3.el7_3.x86_64
Bad:
[root@master-000000 ~]# rpm -qa | grep openscap
openscap-containers-1.2.17-13.el7_9.noarch
openscap-scanner-1.2.17-13.el7_9.x86_64
openscap-utils-1.2.17-13.el7_9.x86_64
openscap-1.2.17-13.el7_9.x86_64
How reproducible:
Steps to Reproduce:
1. Run scap tests
2. Expect selinux policy to be in Targeted
3. Shows as fails
SELINUX on both boxes:
[cloud-user@master-000001 ~]$ cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=enforcing
# SELINUXTYPE= can take one of three values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
Actual results:
Fails
Expected results:
Success
Additional info:
Will attach results as private attachments
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (scap-security-guide bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2021:1383