Bug 2150355

Summary: RHEL 8.7 Kickstart Install Fails With OpenSCAP ospp Profile
Product: Red Hat Enterprise Linux 8 Reporter: Shawn <sbrockme>
Component: oscap-anaconda-addonAssignee: Matěj Týč <matyc>
Status: CLOSED NOTABUG QA Contact: Release Test Team <release-test-team>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.7CC: mhaicman, tscherf, vpolasek, wsato
Target Milestone: rcKeywords: Regression, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-23 16:58:38 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 3 Vojtech Polasek 2023-01-11 10:04:54 UTC
Hello Shawn,
as stated here
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/security_hardening/index#ref_profiles-not-compatible-with-server-with-gui_deploying-systems-that-are-compliant-with-a-security-profile-immediately-after-an-installation
if you want to harden a system during installation and use the OSPP profile, you must not select the "server with GUI" package group because the profile is incompatible with this option.
This is documented in the guide linked above.
Do you agree if I close this BZ as "notabug"?

Comment 4 Matěj Týč 2023-01-19 16:09:49 UTC
I think that we can add the libreport-plugin-rhtsupport package as an "essential package" to the addon, so when this conflict arises, the user gets a better error message, similarly as we treat nfs-utils, x11, and so on.

Comment 5 Matěj Týč 2023-01-23 16:58:38 UTC
So after investigating the possibilities, it turns out that there is nothing to improve in this scenario - the kickstart installation is aborted, and the reasoning is clear. As explained in the article that Vojtech linked to earlier, the profile is not compatible with the GUI software selection, and this is not a defect that can be fixed without serious side-effects.

However, if you install a GUI system without installation-time hardening, or if you install a hardened non-GUI system and you add other packages later, you will have more options of how to deal with the discrepancy between profile requirements and software selections.

Comment 6 Red Hat Bugzilla 2023-09-19 04:31:09 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days