content icon indicating copy to clipboard operation
content copied to clipboard

configure_bashrc_exec_tmux failing after remediation

Open marcusburghardt opened this issue 3 years ago • 2 comments

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:

marcusburghardt avatar Jun 08 '22 08:06 marcusburghardt

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

mildas avatar Jun 09 '22 14:06 mildas

Another question related to the processing order of the rules: #8144

marcusburghardt avatar Jul 29 '22 07:07 marcusburghardt

There is no easy fix - must be fixed on scanner side.

mildas avatar Aug 11 '22 15:08 mildas

Closing, reported an issue in openscap - https://github.com/OpenSCAP/openscap/issues/1880

matusmarhefka avatar Aug 16 '22 14:08 matusmarhefka