content
content copied to clipboard
configure_bashrc_exec_tmux failing after remediation
Description of problem:
The configure_bashrc_exec_tmux is failing after remediation
SCAP Security Guide Version:
master
Operating System Version:
RHEL8 and RHEL9
Actual Results:
xccdf_org.ssgproject.content_rule_configure_bashrc_exec_tmux - fail
Expected Results:
xccdf_org.ssgproject.content_rule_configure_bashrc_exec_tmux - pass
Additional Information/Debugging Steps:
Seems as another rule from CPE notapplicable->fail issue. Similar as no_tmux_in_shells or configure_usbguard_auditbackend.
The rule is notapplicable during remediation because tmux is not installed, thus no remediation is applied. Then during final scan when tmux is installed from remediations, the rule is evaluated and results in fail.
See #8487
Another question related to the processing order of the rules: #8144
There is no easy fix - must be fixed on scanner side.
Closing, reported an issue in openscap - https://github.com/OpenSCAP/openscap/issues/1880