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 2210276

Summary: openscap shows IPv6 as enabled even if it is disabled
Product: Red Hat Enterprise Linux 7 Reporter: achadha
Component: scap-security-guideAssignee: Marcus Burghardt <maburgha>
Status: CLOSED ERRATA QA Contact: Milan Lysonek <mlysonek>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.9CC: ggasparb, jcerny, jjaburek, maburgha, mhaicman, mlysonek, vpolasek, wsato
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: scap-security-guide-0.1.69-1.el7_9 Doc Type: Bug Fix
Doc Text:
.Applicability changes of rules related to IPv6 configuration Compliance rules that are related to IPv6 configuration will now return "notapplicable" result when IPv6 is disabled on the target system. The applicability will be determined based on presence of `ipv6.disable` in the `GRUB_CMDLINE_LINUX` value in the `/etc/default/grub` configuration file. If this option is not present there or set to 0, the rules will be considered applicable and will be evaluated. The following rules are affected by this change: - disabling_ipv6_autoconfig - network_ipv6_default_gateway - network_ipv6_privacy_extensions - network_ipv6_static_address - sysctl_net_ipv6_conf_all_accept_ra - sysctl_net_ipv6_conf_all_accept_ra_defrtr - sysctl_net_ipv6_conf_all_accept_ra_pinfo - sysctl_net_ipv6_conf_all_accept_ra_rtr_pref - sysctl_net_ipv6_conf_all_accept_redirects - sysctl_net_ipv6_conf_all_accept_source_route - sysctl_net_ipv6_conf_all_autoconf - sysctl_net_ipv6_conf_all_forwarding - sysctl_net_ipv6_conf_all_max_addresses - sysctl_net_ipv6_conf_all_router_solicitations - sysctl_net_ipv6_conf_default_accept_ra - sysctl_net_ipv6_conf_default_accept_ra_defrtr - sysctl_net_ipv6_conf_default_accept_ra_pinfo - sysctl_net_ipv6_conf_default_accept_ra_rtr_pref - sysctl_net_ipv6_conf_default_accept_redirects - sysctl_net_ipv6_conf_default_accept_source_route - sysctl_net_ipv6_conf_default_autoconf - sysctl_net_ipv6_conf_default_forwarding - sysctl_net_ipv6_conf_default_max_addresses - sysctl_net_ipv6_conf_default_router_solicitations
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-29 09:30:48 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:

Description achadha 2023-05-26 12:19:24 UTC
Description of problem:

Even after disabling IPv6 on the system, running the openscap scan shows that IPv6 is still enabled on the system

Version-Release number of selected component (if applicable):
scap-security-guide

How reproducible:


Steps to Reproduce:
1. Disable IPv6 on system under /etc/default/grub 
    GRUB_CMDLINE_LINUX="ipv6.disable=1"
2. Attach openscap policy to the system
3. Run openscap scan on the system

Actual results:
Openscap reports IPv6 is still enabled

Expected results:
Openscap should not report IPv6 is enabled 

Additional info:

Comment 5 Marcus Burghardt 2023-07-13 06:25:02 UTC
Fix is merged in Upstream: https://github.com/ComplianceAsCode/content/pull/10830

Comment 17 errata-xmlrpc 2023-08-29 09:30:48 UTC
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 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-2023:4824