Skip to content

Commit

Permalink
Workaround package_nfs-utils_removed issue on bootable containers
Browse files Browse the repository at this point in the history
The rule is affected by https://issues.redhat.com/browse/RHEL-74244
which causes that RHEL 10 bootable container hardened with STIG profile
fails to build. Therefore, until this issue is resolved, we will have
a special RHEL 10 only remediation which workarounds the problem on
bootable containers.
  • Loading branch information
matusmarhefka committed Jan 22, 2025
1 parent 12279d1 commit 53fe0bd
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# platform = Red Hat Enterprise Linux 10
# reboot = false
# strategy = disable
# complexity = low
# disruption = low

# This RHEL 10 special remediation is a workaround for
# https://issues.redhat.com/browse/RHEL-74244
# and once the issue is resolved we will remove it.
if {{{ bash_bootc_build() }}}; then
mkdir -p /var/lib/rpm-state
fi

dnf -y remove nfs-utils

0 comments on commit 53fe0bd

Please sign in to comment.