Linux-audit Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Cc: Leam Hall <leamhall@gmail.com>
Subject: Re: Duplicate settings?
Date: Mon, 20 Jan 2020 10:28:22 -0500	[thread overview]
Message-ID: <1620604.diqz4lFvfc@x2> (raw)
In-Reply-To: <bb281668-ee20-5c23-684e-5e397136956c@gmail.com>

On Monday, January 20, 2020 10:19:59 AM EST Leam Hall wrote:
> On 1/20/20 10:14 AM, Steve Grubb wrote:
> > On Monday, January 20, 2020 10:04:24 AM EST Leam Hall wrote:
> >> On 1/20/20 9:37 AM, Steve Grubb wrote:
> >>> On Monday, January 20, 2020 9:24:56 AM EST Leam Hall wrote:
> >>>> If /etc/audit/auditd.conf encounters conflicting duplicate settings,
> >>>> what happens? Takes the first, takes the last, or what? For example:
> >>>> 
> >>>> space_left = 25
> >>>> space_left = 100
> >>> 
> >>> It overwrites the first value with the second one. You can also run:
> >>> 
> >>> # service auditd state
> >>> 
> >>> to see what the current value is if your audit daemon is somewhat
> >>> recent.
> >> 
> >> Hey Steve, a follow up. Is the man page for auditd.conf wrong? My auditd
> >> failed to start when giving space_left with a '%' sign.
> > 
> > Usually it writes the reason why in syslog. Does it say anything there?
> 
> I don't grok systemd, so here's the whole response:
> 
> Redirecting to /bin/systemctl status auditd.service
> ● auditd.service - Security Auditing Service
>     Loaded: loaded (/usr/lib/systemd/system/auditd.service; enabled;
> vendor preset: enabled)
>     Active: failed (Result: exit-code) since Mon 2020-01-20 09:27:37
> EST; 19min ago
>       Docs: man:auditd(8)
>             https://github.com/linux-audit/audit-documentation
>    Process: 2695 ExecStart=/sbin/auditd (code=exited, status=6)
> 
> Jan 20 09:27:36 leam_c7 systemd[1]: Starting Security Auditing Service...
> Jan 20 09:27:37 leam_c7 auditd[2695]: Value 25% should only be numbers -
> line 20

The issue is here ^^^  To use percentages, you have to be on 2.8.5 or later.

-Steve



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

  reply	other threads:[~2020-01-20 15:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-20 14:24 Duplicate settings? Leam Hall
2020-01-20 14:37 ` Steve Grubb
2020-01-20 15:00   ` Leam Hall
2020-01-20 15:23     ` Steve Grubb
2020-01-20 15:04   ` Leam Hall
2020-01-20 15:14     ` Steve Grubb
2020-01-20 15:19       ` Leam Hall
2020-01-20 15:28         ` Steve Grubb [this message]
2020-01-20 15:38           ` Leam Hall

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=1620604.diqz4lFvfc@x2 \
    --to=sgrubb@redhat.com \
    --cc=leamhall@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox