From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: Can't get syslog built-in plugin to post messages to syslog
Date: Tue, 10 Sep 2013 20:17:24 -0400 [thread overview]
Message-ID: <1433920.8hDBHmljMe@x2> (raw)
In-Reply-To: <OF93D14AD0.A00E4F2C-ON85257BE2.001F4F96-85257BE2.001F4FB1@pt.com>
On Tuesday, September 10, 2013 01:42:00 AM Peter Butler wrote:
> I can't get syslog built-in plugin to post messages to syslog.
>
> My syslog.conf plugin file is:
>
> active = yes
> direction = out
> path = builtin_syslog
> type = builtin
> args = LOG_INFO LOG_LOCAL3
> format = string
>
> Presumably the file is indeed being parsed by the user-space audit daemon,
> as after having changed 'active' to 'yes' (and restarted the system), I see
> the audit daemon has started up the child process audispd, as required.
>
> The audit daemon is indeed logging the audit logs to
> /var/log/audit/audit.log, but is not also sending them to syslog as
> configured.
https://fedorahosted.org/audit/browser/trunk/audisp/audispd-builtins.c#L256
Turns out that you can pass the priority, but not the facility. So, your
events are wherever the LOG_USER facility is sending them. This probably
should be documented better.
-Steve
prev parent reply other threads:[~2013-09-11 0:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-10 5:42 Can't get syslog built-in plugin to post messages to syslog Peter Butler
2013-09-11 0:17 ` Steve Grubb [this message]
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=1433920.8hDBHmljMe@x2 \
--to=sgrubb@redhat.com \
--cc=linux-audit@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 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.