content
content copied to clipboard
Rule zipl_bootmap_is_up_to_date fails after OSPP hardening
Description of problem:
A test that tests OSPP hardening of a VM fails because rule zipl_bootmap_is_up_to_date fails after a reboot.
SCAP Security Guide Version:
current upstream as of 2022-08-06 as of HEAD 61b8f59e05e7a63267e22f3a44ff2b98de822ec0
Operating System Version:
RHEL 9.1, architecture s390x RHEL 8.7, architecture s390x
Steps to Reproduce:
- Harden a s390x system to OSPP profile: oscap xccdf eval --progress --remediate --profile xccdf_org.ssgproject.content_profile_ospp --report /ospp_remediate_report.html ssg-rhel9-ds.xml (or ssg-rhel8-ds.xml)
- reboot
- scan again: oscap xccdf eval --progress --profile xccdf_org.ssgproject.content_profile_ospp --results ospp-xccdf-results.xml --report ospp.html ssg-rhel9-ds.xml
Actual Results:
Before reboot, the rule zipl_bootmap_is_up_to_date passes but after reboot the rule zipl_bootmap_is_up_to_date fails.
Expected Results:
zipl_bootmap_is_up_to_date passes or surviving a reboot is achieved somehow
Additional Information/Debugging Steps:
no
This issue is another manifestation of remediate twice for rule to pass, closing.
See https://github.com/OpenSCAP/openscap/issues/1880