public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* Are the writing of an events records to audit.log atomic should a log rotation occur
@ 2013-02-01 23:51 Burn Alting
  2013-02-04 19:32 ` Steve Grubb
  0 siblings, 1 reply; 3+ messages in thread
From: Burn Alting @ 2013-02-01 23:51 UTC (permalink / raw)
  To: linux-audit


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

All,

When rotating log files due a USR1 signal being sent, or for any other
reason, does auditd finish writing all the
records that belong to the current event being written before starting
the new log file?

That is, will I find records belonging to a single event in two log
files?

If this is the case, would there be problems if auditd was changed to
wait and 'flush' all an event's records before
rotating? One assumes auditd-event.c would need to be modified to be
more event aware. Perhaps make use of AUDIT_EOE or
other means of identifying the end of an event or a single event.

Thanks in advance

Burn Alting

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

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



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

end of thread, other threads:[~2013-02-04 20:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-01 23:51 Are the writing of an events records to audit.log atomic should a log rotation occur Burn Alting
2013-02-04 19:32 ` Steve Grubb
2013-02-04 20:51   ` Burn Alting

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox