All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: rules.d on RHEL6
Date: Wed, 12 Apr 2017 11:51:48 -0400	[thread overview]
Message-ID: <2119234.s8ps4zJtJ9@x2> (raw)
In-Reply-To: <CAJdJdQnBFGxYuhptoBRY6xO2QoC2U9dLG8P-1bi+uSqs7x87kQ@mail.gmail.com>

On Wednesday, April 12, 2017 10:18:55 AM EDT warron.french wrote:
> It appears that this directory is not used at all on RHEL6.
> 
> I know I have mentioned this before; but it's true.  If I *move* my copy of
> audit.rules from /etc/audit into the subdirectory rules.d and restart
> audit; the audit.rules file is not recopied/regenerated or whatever by the
> auditd.
> 
> This behavior is different from RHEL7; where if you delete the
> /etc/audit/audit.rules file or move it to /etc/audit/rules.d/audit.rules;
> the auditd functions as I expect.

This is mostly correct. The issue with RHEL 6 is that the augenrules program 
didn't exist when RHEL 6 was originally shipped. So, it would have been bad 
and unexpected for the behavior to suddenly change during an update to a 
shipped product. However, augenrules is useful and for anyone that wants to 
use it on RHEL 6 they may do so by opting in.

If you read the text in /etc/sysconfig/auditd you will see an explanation of 
how to enable augenrules.

-Steve

> Can someone please correct my understanding?  Is the /etc/audit/rules.d
> directory not supposed to be usable in RHEL6; but is in RHEL7?
> --------------------------
> Warron French

      parent reply	other threads:[~2017-04-12 15:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-12 14:18 rules.d on RHEL6 warron.french
2017-04-12 14:25 ` Bond Masuda
2017-04-12 14:33 ` Simon Sekidde
2017-04-12 15:51 ` 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=2119234.s8ps4zJtJ9@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.