On Thu, 2021-07-08 at 13:23 -0700, Beto wrote:
> More confused. I ran cf-agent --no-lock and the only output I got was the the date from
main.cf.
> Then I ran cf-agent -I --no-lock and I got thousand of lines of 'info' level loggings for stuff that
> was not modified and did not need modification. Here's a tiny example of the output:
>
> <snip>
> info: Inserted the promised line '#' into '/etc/audit/auditd.conf' after locator
> info: insert_lines promise '#' repaired
> info: Inserted the promised line '# This file controls the configuration of the audit daemon'
> into '/etc/audit/auditd.conf' after locator
> info: insert_lines promise '# This file controls the configuration of the audit daemon' repaired
> info: Inserted the promised line '#' into '/etc/audit/auditd.conf' after locator
> info: insert_lines promise '#' repaired
> info: Inserted the promised line '' into '/etc/audit/auditd.conf' after locator
> info: insert_lines promise '' repaired
> info: Inserted the promised line 'log_file = /var/log/audit/audit.log' into
> '/etc/audit/auditd.conf' after locator
> info: insert_lines promise 'log_file = /var/log/audit/audit.log' repaired
> info: Inserted the promised line 'log_format = RAW' into '/etc/audit/auditd.conf' after locator
> </snip>
>
> What the heck?
That's another known issue [1], actually. It's just harmless noise, but it can be annoying. Nothing
is being done in the system, CFEngine just overly informs about what it is doing *internally*.