Closed Tu-114-s-undercarriage closed 5 years ago
On 2019-05-24 02:09, Tu-114-s-undercarriage wrote:
At the first, I check the log by command
cat
, it seems normal. But once I usesudo aureport -x
, It shows me taht tones of file access log like celow:
Given that the log file (I assume you did "cat /var/log/audit/audit.log"?) seems normal, then this appears to be a userspace problem and not a kernel issue, which should be filed:
https://github.com/linux-audit/audit-userspace
57675. 05/24/2019 08:29:21 /sbin/aureport pts2 ? 1001 802722 ...
On 2019-05-24 02:09, Tu-114-s-undercarriage wrote: At the first, I check the log by command
cat
, it seems normal. But once I usesudo aureport -x
, It shows me taht tones of file access log like celow: Given that the log file (I assume you did "cat /var/log/audit/audit.log"?) seems normal, then this appears to be a userspace problem and not a kernel issue, which should be filed: https://github.com/linux-audit/audit-userspace57675. 05/24/2019 08:29:21 /sbin/aureport pts2 ? 1001 802722
The log file also fill with these log in moment. I.m using default audit setting, so the most 5 files will be persisted and 8MB for each.
I think the audit kernel shouldn't log it so much times.
On 2019-05-29 00:05, Tu-114-s-undercarriage wrote:
I think the audit kernel shouldn't log it so much times.
As I said, from the information you have provided, it looks like a userspace issue and not kernel since the log file does not show the problem.
The kernel logs what it is configured to log by the rules on your system (/etc/audit/audit.rules
+ /etc/audit/rules.d/*
). If you think it is logging too much, you need to examine the records in the log and add exclude filter rules for the kinds of records that you don't care about.
I agree with @rgbriggs and @WOnder93 that this isn't a kernel bug; I'm going to close this out for now. @Tu-114-s-undercarriage if you find more information that points to a specific kernel bug and have a reproducer, please feel free to reopen this issue.
At the first, I check the log by command
cat
, it seems normal. But once I usesudo aureport -x
, It shows me taht tones of file access log like celow:Every line have same record, and there have more than 60,000 lines, I stop it by ^C.