From: Paul Moore <paul@paul-moore.com>
To: Chris Nandor <pudge@pobox.com>
Cc: linux-audit@redhat.com
Subject: Re: auditd restart atomic?
Date: Tue, 7 Feb 2017 10:05:49 -0500 [thread overview]
Message-ID: <CAHC9VhQDO3W0=1rSJTGhy4EteC4AzP+PoY2UgUWYvq-bjMZcVw@mail.gmail.com> (raw)
In-Reply-To: <CAHcE2wopPi8f3dJkEaWLq2Lcq1Ac2j--jA2iPH_9Rs=EWJOadQ@mail.gmail.com>
On Mon, Feb 6, 2017 at 8:12 PM, Chris Nandor <pudge@pobox.com> wrote:
> If I restart auditd, can it lose (not record to the logs) events that happen
> during the restart? Or is the restart (and reload of new rules) essentially
> atomic?
The kernel maintains a backlog queue of audit records when auditd is
not running and attempts to (re)send those records when auditd is
started. However, the backlog queue size is fixed and it is possible
to overflow the queue; if that happens a message will be sent to the
kernel's ring buffer (dmesg).
--
paul moore
www.paul-moore.com
next prev parent reply other threads:[~2017-02-07 15:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-07 1:12 auditd restart atomic? Chris Nandor
2017-02-07 15:05 ` Paul Moore [this message]
2017-02-07 15:26 ` Richard Guy Briggs
2017-02-07 20:58 ` Chris Nandor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHC9VhQDO3W0=1rSJTGhy4EteC4AzP+PoY2UgUWYvq-bjMZcVw@mail.gmail.com' \
--to=paul@paul-moore.com \
--cc=linux-audit@redhat.com \
--cc=pudge@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.