From: Lennart Poettering <lennart@poettering.net>
To: Casey Schaufler <casey@schaufler-ca.com>
Cc: Richard Guy Briggs <rgb@redhat.com>, linux-audit@redhat.com
Subject: Re: multicast listeners and audit events to kmsg
Date: Thu, 23 Apr 2020 18:44:01 +0200 [thread overview]
Message-ID: <20200423164401.GA63285@gardel-login> (raw)
In-Reply-To: <f88f306c-9274-e2a6-fbc8-9e750e1289ef@schaufler-ca.com>
On Do, 23.04.20 09:19, Casey Schaufler (casey@schaufler-ca.com) wrote:
> > For example, Fedora CoreOS wants to enable selinux, thus is interested
> > in audit messages, but have no intention to install auditd, in the
> > typical, minimal images they generate. See:
> >
> > https://github.com/systemd/systemd/issues/15324
>
> If you can do a better job of consuming audit data than auditd I for one
> would be impressed. I've written multiple audit systems over the years
> (not this one, but the issues are all familiar and the solutions similar)
> and the kernel -> user interface is much, much harder than it looks.
The audit support in journald is really not about doing "a better
job", or being "faster". Totally not. It's about making a common case
easy, that's all.
There are at least two very different usecases for the audit data:
1. auditing for the purpose of auditing (i.e. government style)
2. people who just want to debug their frickin selinux issues
auditd is great for #1. for #2 people don't want to bother, journald
is fine, speed or reliability or any such don't matter, the mcast
stuff is definitely good enough, and the benefit of collecting the
AVCs via audit from earliest boot on is a lot more interesting and
important for such uses than to wonder what happens if the queue runs
over...
I mean, can't you understand that there's a theme here of people
wanting to pick up basic audit messages without installing the whole
auditd package and running a daemon all the time? CoreOS wants this,
and journald implements this for a reason...
I am not sure what the big problem would be with just providing us
with a control to turn off the kmsg forwarding with a sysctl or
netlink command or so, when userspace requests that. if we had that,
auditd could do its own thing owning audit, journald could do its own
thing with a stream at the side, and we wouldn't step on each others
toes.
Anyway, I accept this discussion is not leading anywhere, let's end it
here. I do sense the condescension, and I don't need more of that.
Lennart
--
Lennart Poettering, Berlin
--
Linux-audit mailing list
Linux-audit@redhat.com
https://www.redhat.com/mailman/listinfo/linux-audit
next prev parent reply other threads:[~2020-04-23 17:08 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-14 9:27 multicast listeners and audit events to kmsg Luca BRUNO
2020-04-15 15:53 ` Richard Guy Briggs
2020-04-16 12:06 ` Lennart Poettering
2020-04-16 18:46 ` Lenny Bruzenak
2020-04-17 18:57 ` Richard Guy Briggs
2020-04-17 19:21 ` Lennart Poettering
2020-04-17 20:08 ` Richard Guy Briggs
2020-04-22 21:59 ` Paul Moore
2020-04-23 7:30 ` Lennart Poettering
2020-04-23 13:50 ` Paul Moore
2020-04-23 13:57 ` Lennart Poettering
2020-04-23 14:04 ` Paul Moore
2020-04-23 16:19 ` Casey Schaufler
2020-04-23 16:44 ` Lennart Poettering [this message]
2020-04-23 17:17 ` Steve Grubb
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=20200423164401.GA63285@gardel-login \
--to=lennart@poettering.net \
--cc=casey@schaufler-ca.com \
--cc=linux-audit@redhat.com \
--cc=rgb@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox