diff --git a/linux_os/guide/services/nfs_and_rpc/package_nfs-utils_removed/bash/rhel10.sh b/linux_os/guide/services/nfs_and_rpc/package_nfs-utils_removed/bash/rhel10.sh new file mode 100644 index 00000000000..83e95ff8ec4 --- /dev/null +++ b/linux_os/guide/services/nfs_and_rpc/package_nfs-utils_removed/bash/rhel10.sh @@ -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 diff --git a/linux_os/guide/services/nfs_and_rpc/package_nfs-utils_removed/rule.yml b/linux_os/guide/services/nfs_and_rpc/package_nfs-utils_removed/rule.yml index 898495206fc..53a2a74e665 100644 --- a/linux_os/guide/services/nfs_and_rpc/package_nfs-utils_removed/rule.yml +++ b/linux_os/guide/services/nfs_and_rpc/package_nfs-utils_removed/rule.yml @@ -40,3 +40,5 @@ template: name: package_removed vars: pkgname: nfs-utils + backends: + bootc: "off" diff --git a/linux_os/guide/system/software/system-tools/package_gssproxy_removed/bash/rhel10.sh b/linux_os/guide/system/software/system-tools/package_gssproxy_removed/bash/rhel10.sh new file mode 100644 index 00000000000..274b457c87c --- /dev/null +++ b/linux_os/guide/system/software/system-tools/package_gssproxy_removed/bash/rhel10.sh @@ -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 gssproxy diff --git a/linux_os/guide/system/software/system-tools/package_gssproxy_removed/rule.yml b/linux_os/guide/system/software/system-tools/package_gssproxy_removed/rule.yml index 3bfcc3b778a..a9d20dd50c0 100644 --- a/linux_os/guide/system/software/system-tools/package_gssproxy_removed/rule.yml +++ b/linux_os/guide/system/software/system-tools/package_gssproxy_removed/rule.yml @@ -42,3 +42,4 @@ template: pkgname: gssproxy backends: anaconda: "off" + bootc: "off"