All of lore.kernel.org
 help / color / mirror / Atom feed
* New bug in Audit
@ 2023-01-05  9:46 Ariel Silver
  2023-01-05 15:41 ` Paul Moore
  0 siblings, 1 reply; 10+ messages in thread
From: Ariel Silver @ 2023-01-05  9:46 UTC (permalink / raw)
  To: linux-audit


[-- Attachment #1.1: Type: text/plain, Size: 942 bytes --]

I found the following bug:


OS version = Red Hat Enterprise Linux release 8.6 (Ootpa)
Kernel version = 4.18.0-425.3.1.el8.x86_64
auditctl version = 3.0.7

Scenario 1:
When I load the configurations :
*auditctl -a always,exit -S all -F dir=/ -F perm=w -F success=1*
And run the command:
*cp /tmp/1  /tmp/2*
No new log is created in: /var/log/audit/audit.log
But the file is indeed copied.

Scenario 2:
When I load the configurations :
*auditctl -a always,exit -S all -F dir=/ -F perm=w -F success=0*
And run the command:
*cp /tmp/1  /tmp/2*
No new log is created in: /var/log/audit/audit.log
But the file is indeed copied.

Scenario 3:
When I load the configurations :
*auditctl -a always,exit -S all -F dir=/ -F perm=w*
And run the command:
*cp /tmp/1  /tmp/2*
Yes new log is created in: /var/log/audit/audit.log
File was indeed copied.

Conclusion:
Only when I don't use the -F success  new logs are created.
Why is that?
Any alternative ?

[-- Attachment #1.2: Type: text/html, Size: 2161 bytes --]

[-- Attachment #2: Type: text/plain, Size: 107 bytes --]

--
Linux-audit mailing list
Linux-audit@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-audit

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-01-10  4:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-05  9:46 New bug in Audit Ariel Silver
2023-01-05 15:41 ` Paul Moore
2023-01-05 16:31   ` Steve Grubb
2023-01-05 19:32     ` Paul Moore
2023-01-06 20:33       ` Paul Moore
2023-01-09  8:30         ` Ariel Silver
2023-01-09 15:02           ` Paul Moore
2023-01-09 15:08         ` Steve Grubb
2023-01-10  4:38           ` Paul Moore
2023-01-06  0:35     ` Richard Guy Briggs

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.