Bug 2075508 - [RFE] Check CPE applicabilities during annaconda plugin run
Summary: [RFE] Check CPE applicabilities during annaconda plugin run
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: oscap-anaconda-addon
Version: 8.6
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Watson Yuuma Sato
QA Contact: Release Test Team
Mirek Jahoda
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-14 11:51 UTC by Ales Musil
Modified: 2023-02-16 16:26 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
.RHV hypervisor may not work correctly when hardening the system during installation When installing Red Hat Virtualization Hypervisor (RHV-H) and applying the Red Hat Enterprise Linux 8 STIG profile, OSCAP Anaconda Add-on may harden the system as RHEL instead of RVH-H and remove essential packages for RHV-H. Consequently, the RHV hypervisor may not work. To work around the problem, install the RHV-H system without applying any profile hardening, and after the installation is complete, apply the profile by using OpenSCAP. As a result, the RHV hypervisor works correctly.
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-118977 0 None None None 2022-04-14 11:59:02 UTC

Description Ales Musil 2022-04-14 11:51:53 UTC
Description of problem:
scap-security-guide has a check for ovirt-host or ovirt-engine package,
this prevents some packages, that RHV depends on, being removed. 
However this check does not seem to work in the plugin. In RHVH,
which is image distributed by RHV, the packages are still deleted
dispite ovirt-host being installed in that image.

Comment 9 Watson Yuuma Sato 2022-04-22 17:24:20 UTC
@amusil Hi, could you clarify what are the packages that are being removed by the STIG profile?

I did a manual install using `RHVH-4.5-20220411.0-RHVH-x86_64-dvd1.iso` with data stream from 8.6 and a data stream with a possible fix, and the only difference I see is that the installation with the fix has krb5-workstation installed.
Both installs have tuned, gssproxy installed, and both installs miss x11 packages (xorg-x11-server-Xorg, xorg-x11-server-common, xorg-x11-server-utils).

Comment 10 Ales Musil 2022-04-25 05:10:06 UTC
(In reply to Watson Yuuma Sato from comment #9)
> @amusil Hi, could you clarify what are the packages that are
> being removed by the STIG profile?
> 
> I did a manual install using `RHVH-4.5-20220411.0-RHVH-x86_64-dvd1.iso` with
> data stream from 8.6 and a data stream with a possible fix, and the only
> difference I see is that the installation with the fix has krb5-workstation
> installed.
> Both installs have tuned, gssproxy installed, and both installs miss x11
> packages (xorg-x11-server-Xorg, xorg-x11-server-common,
> xorg-x11-server-utils).

The krb5-workstation is the issue, because of the dependency chain it removes
ovirt-host in the end, which means whole installation of RHV.

Comment 11 Watson Yuuma Sato 2022-04-26 09:08:16 UTC
We talked with Ales and just commenting for the record.

I did a few manual installs again using 'RHVH-4.5-20220411.0-RHVH-x86_64-dvd1.iso' and I cannot reproduce the issue any more.
Ales will do some more testing.


Note You need to log in before you can comment on or make changes to this bug.