Bug 1465677
| Summary: | rule_ensure_gpgcheck_repo_metadata should not remediate, until Red Hat supports it | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Marek Haicman <mhaicman> |
| Component: | scap-security-guide | Assignee: | Watson Yuuma Sato <wsato> |
| Status: | CLOSED ERRATA | QA Contact: | Marek Haicman <mhaicman> |
| Severity: | high | Docs Contact: | Ioanna Gkioka <igkioka> |
| Priority: | high | ||
| Version: | 7.4 | CC: | lmiksik, mhaicman, mpreisle, openscap-maint, vcojot |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | scap-security-guide-0.1.35-1.el7 | Doc Type: | Known Issue |
| Doc Text: |
The `ensure_gpgcheck_repo_metadata` rule fails
During remediation of the `ensure_gpgcheck_repo_metadata` rule, certain profiles update the `yum.conf` file to enable the `repo_gpgcheck` option. Red Hat does not currently provide signed repository metadata. As a consequence, the *yum* utility is no longer able to install any package from official repositories. To work around the problem, use a tailoring file to remove `ensure_gpgcheck_repo_metadata` from the profile. If remediation already breaks the system, update `yum.conf` and set `repo_gpgcheck` to `0`.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-04-10 12:20:33 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
Marek Haicman
2017-06-27 23:08:07 UTC
Note: this might prevent full profile remediation of profiles containing this rule (profile_stig-rhel7-disa) This is already fixed upstream by https://github.com/OpenSCAP/scap-security-guide/pull/2189. Verified in version scap-security-guide-0.1.36-7.el7 no remediation is performed OLD (scap-security-guide-0.1.33-6.el7): [dahaic@machine]$ oscap xccdf eval --fetch-remote-resources --rule xccdf_org.ssgproject.content_rule_ensure_gpgcheck_repo_metadata --profile xccdf_org.ssgproject.content_profile_stig-rhel7-disa --remediate 0.1.33-6/ssg-rhel7-ds.xml Downloading: https://www.redhat.com/security/data/oval/com.redhat.rhsa-RHEL7.xml.bz2 ... ok Title Ensure gpgcheck Enabled for Repository Metadata Rule xccdf_org.ssgproject.content_rule_ensure_gpgcheck_repo_metadata Ident CCE-80348-6 Result fail --- Starting Remediation --- Downloading: https://www.redhat.com/security/data/oval/com.redhat.rhsa-RHEL7.xml.bz2 ... ok Title Ensure gpgcheck Enabled for Repository Metadata Rule xccdf_org.ssgproject.content_rule_ensure_gpgcheck_repo_metadata Ident CCE-80348-6 Result error NEW (scap-security-guide-0.1.36-7.el7): [dahaic@machine]$ oscap xccdf eval --fetch-remote-resources --rule xccdf_org.ssgproject.content_rule_ensure_gpgcheck_repo_metadata --profile xccdf_org.ssgproject.content_profile_stig-rhel7-disa --remediate 0.1.36-7/ssg-rhel7-ds.xml Downloading: https://www.redhat.com/security/data/oval/com.redhat.rhsa-RHEL7.xml.bz2 ... ok Title Ensure gpgcheck Enabled for Repository Metadata Rule xccdf_org.ssgproject.content_rule_ensure_gpgcheck_repo_metadata Ident CCE-80348-6 Result fail --- Starting Remediation --- Downloading: https://www.redhat.com/security/data/oval/com.redhat.rhsa-RHEL7.xml.bz2 ... ok [dahaic@machine]$ 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, 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-2018:0761 |