Rule `ensure_pam_wheel_group_empty` is failing in `anaconda-ostree` and `bootc-image-builder` tests
Description of problem:
The rule is failing in Image Mode
SCAP Security Guide Version:
95222edc12b4689c6d72115ddc748281427e895e
Operating System Version:
RHEL10, RHEL9
Steps to Reproduce:
- Run productization test (e.g. /hardening/container/anaconda-ostree/cis_server_l1/ensure_pam_wheel_group_empty)
Actual Results:
Rule fails
Expected Results:
No failures
Additional Information/Debugging Steps:
This issue is similar to https://github.com/ComplianceAsCode/content/issues/13552. The problem is that during the remediation the groupadd command isn't found and isnt' executed by the remediation. This issue is caused by a bug in OpenSCAP and has been reported in OpenSCAP in https://github.com/OpenSCAP/openscap/issues/2242.
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 https://github.com/ComplianceAsCode/content/commit/f78aeca318c7ddfd3f941cec021b0b744b6cf7b3. In the HTML report the rules passes both on RHEL 9 and 10.