Possible typo in 22-ignore-chrony.rules
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines · EST Joe Wulf
This snippit in both rules in that file (for both v2.8.5 and v3.0.0) "-F auid=unset -Fuid=chrony" for the second "-F" seems to be missing a space after the "-F". Correct?
Yeah, it looks that way. Fixed. Thanks!
Quoted 4 lines
IRT to the comment in this rule file, "These
rules suppress the time-change event when chrony does time updates"; does that mean IF these two rules were not included or commented-out, that the chrony time updates would 'log' events in the audit log?
Yes.
Quoted 2 lines
How do these rules 'work' to suppress chrony time updates from being logged?
The audit rules is a first match wins system. These rules are in a file with a 22 in the name which preceeds rules whose file name starts with 30. In 30- stig.rules, we have a rule that asks for any use of adjtimex to be logged which is the syscall chrony uses to update time. Since the rule in 22 has a never action and it preceeds the one from the stig, it matches first and takes the never action which is not to log it.
-Steve
--
Linux-audit mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-audit