Bug 1828871

Summary: Remediating rules using service_disabled template during kickstart installation does not work as expected
Product: Red Hat Enterprise Linux 7 Reporter: Vojtech Polasek <vpolasek>
Component: scap-security-guideAssignee: Vojtech Polasek <vpolasek>
Status: CLOSED WONTFIX QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: high Docs Contact:
Priority: high    
Version: 7.9CC: ggasparb, matyc, mhaicman, wsato
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
Cause: During the installation, the scanner may incorrectly deduce whether to apply remediations to disable/enable of services. Consequence: Some services on the installed system may set to a non-compliant state after the installation. Workaround (if any): Run a scan and remediation right after the installation. Result: The scan and remediation of the freshly-installed system will fix all of the remaining service-related issues.
Story Points: ---
Clone Of:
: 1834716 (view as bug list) Environment:
Last Closed: 2020-05-12 09:47:45 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:

Comment 8 Matěj Týč 2020-05-12 09:47:45 UTC
This problem can be reliably resolved only by implementing additional functionality into the oscap-anaconda-addon component.
Due to RHEL7 being in Maintenance Phase 2, the such effort is out of scope, as a non-disruptive workaround exists.

https://bugzilla.redhat.com/show_bug.cgi?id=1834716

Comment 9 Matěj Týč 2020-05-12 09:48:31 UTC
The BZ has been cloned to RHEL8, so it can be addressed there: https://bugzilla.redhat.com/show_bug.cgi?id=1834716