You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the Issue
The regex in the task "2.1.2 Ensure chrony is configured | modify /etc/sysconfig/chronyd" is supposed to add the parameter "-u chrony" and keep all other parameters. But the task is not idempotent. The "-u chrony" parameter is added for every execution.
Thank you for this issue, i can see you are referring to the older benchmark version 2.0.0.
CIS v3.0 was released a while ago.
I have therefore added these fixes to a new locked branch called benchamrk_v2.0.0.
Thank you again for your time regarding this issue. You should find that this fix was merged into devel and is now in the main branch. I will close this issue, please feel free to reopen if this is not resolved as expected.
Describe the Issue
The regex in the task "2.1.2 Ensure chrony is configured | modify /etc/sysconfig/chronyd" is supposed to add the parameter "-u chrony" and keep all other parameters. But the task is not idempotent. The "-u chrony" parameter is added for every execution.
RHEL8-CIS/tasks/section_2/cis_2.1.x.yml
Lines 36 to 52 in 7509256
After 3 executions the file /etc/sysconfig/chronyd has the following content:
Expected Behavior
The task should be idempotent and only add "-u chrony" if not already specified.
Actual Behavior
The task reports a change on every execution and adds "-u chrony" at every execution.
Control(s) Affected
Task 2.1.2
v8 8.4 Standardize Time Synchonization
v7 6.1 Utilize Three Synchronized Time Sources
Environment (please complete the following information):
Additional Notes
Possible Solution
The text was updated successfully, but these errors were encountered: