linux-audit.redhat.com archive mirror
 help / color / mirror / Atom feed
* Clarification on log rotation
@ 2020-11-23 14:21 Andreas Hasenack
  2020-11-23 16:05 ` Steve Grubb
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Hasenack @ 2020-11-23 14:21 UTC (permalink / raw)
  To: Linux-audit

Hi,

I'm checking auditd's native logrotation mechanism.

The auditd.conf manpage states this for num_logs:

"The excess log check  is  only  done  on startup and when a
reconfigure results in a space check."

I kept generating events, and truth be told, no rotation happened once
the logfile size was above max_log_file. At least not after a few
minutes.

When does a space check happens, besides on a restart? Just external
events likg SIGUSR1 and perhaps SIGHUP?

Since these are external events, how do sysadmins deal with log
rotation: completely ignore auditd's native mechanism and setup
logrotate as usual?

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


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

end of thread, other threads:[~2020-11-23 16:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-23 14:21 Clarification on log rotation Andreas Hasenack
2020-11-23 16:05 ` Steve Grubb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).