Bug 1311054
| Summary: | [Bug] scap-security-guide package does not acknowledge Red Hat Compute Node as valid RHEL 6 OS | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Adi Akbar <aakbar> |
| Component: | scap-security-guide | Assignee: | Watson Yuuma Sato <wsato> |
| Status: | CLOSED ERRATA | QA Contact: | Marek Haicman <mhaicman> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.5 | CC: | cww, mhaicman, mpreisle, openscap-maint, salmy, swells |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-03-21 11:51:12 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: | 1269194, 1343211 | ||
|
Description
Adi Akbar
2016-02-23 09:42:52 UTC
We do not look into /etc/system-release-cpe. We run an equivalent of command rpm -q --whatprovides /etc/redhat-release as part of our CPE check. We have improved CPE in coming release. We have CPE dictionary in two places however: openscap and scap-security-guide packages. I have verified that this bug is not present in the coming openscap-1.2.8-2.el6.x86_64 (rhel-6.8 beta). # oscap oval eval /usr/share/openscap/cpe/openscap-cpe-oval.xml | grep rhel:def:6 Definition oval:org.open-scap.cpe.rhel:def:6: true # cat /etc/system-release-cpe cpe:/o:redhat:enterprise_linux:6computenode:beta:computenode We need to check scap-security-guide's CPE as well. The bug is present in the coming scap-security-guide-0.1.28-2.el6 # oscap oval eval /usr/share/xml/scap/ssg/content/ssg-rhel6-cpe-oval.xml | grep rhel6:def:1 Definition oval:ssg-installed_OS_is_rhel6:def:1: false On the other hand, we do not ship scap-security-guide package on ComputeNode. Does customer want to have scap-security-guide on ComputeNode? Simon - Yes, SSG should be shipping for RHEL for Compute Node. More broadly, shouldn't OpenSCAP + SSG be shipping for all RHEL variants? Ok, thanks Shawn, I have filed separate bugs (bug 1311490, bug https://bugzilla.redhat.com/show_bug.cgi?id=1311491) to track that. This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions Verified fix in version scap-security-guide-0.1.28-3.el6.noarch OLD (scap-security-guide-0.1.28-2.el6.noarch): :: [ PASS ] :: Command 'rpm -i rpms/RHEL6/redhat-release-computenode-*.x86_64.rpm' (Expected 0, got 0) :: [ PASS ] :: Command 'oscap oval eval /usr/share/xml/scap/ssg/content/ssg-rhel6-cpe-oval.xml > output' (Expected 0, got 0) :: [ INFO ] :: Current redhat-release is redhat-release-computenode-6ComputeNode-6.9.0.1.el6.x86_64 :: [ INFO ] :: Result: Definition oval:ssg-installed_OS_is_rhel6:def:1: false :: [ FAIL ] :: computenode is not covered by CPE definition NEW: :: [ PASS ] :: Command 'rpm -i rpms/RHEL6/redhat-release-computenode-*.x86_64.rpm' (Expected 0, got 0) :: [ PASS ] :: Command 'oscap oval eval /usr/share/xml/scap/ssg/content/ssg-rhel6-cpe-oval.xml > output' (Expected 0, got 0) :: [ INFO ] :: Current redhat-release is redhat-release-computenode-6ComputeNode-6.9.0.1.el6.x86_64 :: [ INFO ] :: Result: Definition oval:ssg-installed_OS_is_rhel6:def:1: true :: [ PASS ] :: computenode is supported 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://rhn.redhat.com/errata/RHBA-2017-0785.html |