Rules about SELinux booleans are failing in `anaconda-ostree` and `bootc-image-builder` tests
Description of problem:
Failing rules:
- sebool_polyinstantiation_enabled
- sebool_selinuxuser_execstack
- sebool_selinuxuser_execmod
SCAP Security Guide Version:
95222edc12b4689c6d72115ddc748281427e895e
Operating System Version:
RHEL9, RHEL10
Steps to Reproduce:
- Run productization test (e.g. /hardening/container/anaconda-ostree/anssi_bp28_high/sebool_polyinstantiation_enabled)
Actual Results:
Rules are failing.
Expected Results:
No failures.
Additional Information/Debugging Steps:
I haven't investigated this one, but I think it can be another bug caused by https://github.com/ComplianceAsCode/content/issues/13552 because the setsebool command is located in /usr/sbin which is affected by this openscap issue.
This issue has been fixed or worked around by https://github.com/ComplianceAsCode/content/pull/13645. As of 2025-07-14, the issue doesn't appear in daily productization. Also, I can't reproduce it locally using autocontest. I used current upstream master as of HEAD f78aeca318c7ddfd3f941cec021b0b744b6cf7b3. In the HTML report, all 3 rules listed in the description are passing. They pass both on RHEL 9 and 10.