sshd_include_crypto_policy
remediation breaks SSH when run in OSBuild
#12968
Labels
osbuild
Related in some way to Image Builder.
productization-issue
Issue found in upstream stabilization process.
RHEL
Red Hat Enterprise Linux product related.
RHEL9
Red Hat Enterprise Linux 9 product related.
Description of problem:
The problem is that the remediation (both Bash and Ansible) does
presumably to re-generate the on-disk files used by
openssh-server
.This is a problem for the OSBuild environment, because while the removal happens just fine (extra debug lines redacted):
the subsequent
install
fails on not having network in the OSBuild build environment,So perhaps the remediation should be
notapplicable
for OSBuild ... ?Maybe look into why this is a RHEL-9 only issue and doesn't happen on RHEL-10 - was there some OSBuild env change on 10?
SCAP Security Guide Version:
master @ c10d93d
Operating System Version:
RHEL-9.6
Steps to Reproduce:
--rhel 9.6 --arch x86_64 --test '/hardening/image-builder/stig$'
TimeoutError: waiting for 192.168.120.146:22 to start timed out
You can also reproduce it by running the test manually and using a serial console into the VM guest to look at
/var/log/dnf.log
like I did.Additional Information/Debugging Steps:
oscap
execution: contest-osbuild.txtThe text was updated successfully, but these errors were encountered: