RHEL 9 Installation Fails when STIG profile is selected

Solution Verified - Updated -

Issue

When installing RHEL 9 via network or CD-ROM, the installation fails during "Configuring kernel-core.x86_64" with the error message is "The following error occurred while installing the payload. This is a fatal error and installation will be aborted. DNF error: Error in POSTTRANS scriptlet in rpm package kernel-core".

The "DISA STIG with GUI" security profile is selected when installing from CD-ROM, when installing from network kickstart, the following is added to the kickstart:

"%addon com_redhat_oscap
    content-type = scap-security-guide
    datastream-id = scap_org.open-scap_datastream_from_xccdf_ssg-rhel9-xccdf.xml
    xccdf-id = scap_org.open-scap_cref_ssg-rhel9-xccdf.xml
    profile = xccdf_org.ssgproject.content_profile_stig_gui

%end"

The installation completes successfully when not using a security profile.

Environment

Red Hat Enterprise Linux 9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content