Linux-audit Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Sekidde <ssekidde@redhat.com>
To: "warron.french" <warron.french@gmail.com>
Cc: linux-audit@redhat.com
Subject: Re: rules.d on RHEL6
Date: Wed, 12 Apr 2017 10:33:48 -0400 (EDT)	[thread overview]
Message-ID: <157992575.11361938.1492007628400.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <CAJdJdQnBFGxYuhptoBRY6xO2QoC2U9dLG8P-1bi+uSqs7x87kQ@mail.gmail.com>



----- Original Message -----
> From: "warron.french" <warron.french@gmail.com>
> To: linux-audit@redhat.com
> Sent: Wednesday, April 12, 2017 10:18:55 AM
> Subject: rules.d on RHEL6
> 
> 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.
> 
> 
> Can someone please correct my understanding? Is the /etc/audit/rules.d
> directory not supposed to be usable in RHEL6; but is in RHEL7?

Its usable but you have to run 

 # augenrules --load

Note that this will overwrite /etc/audit/audit.rules

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

-- 
Simon Sekidde * Red Hat, Inc. * Tyson's Corner, VA
Solution Architect, NA Public Sector
gpg: 5848 958E 73BA 04D3 7C06 F096 1BA1 2DBF 94BC 377E

  parent reply	other threads:[~2017-04-12 14:33 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 [this message]
2017-04-12 15:51 ` 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=157992575.11361938.1492007628400.JavaMail.zimbra@redhat.com \
    --to=ssekidde@redhat.com \
    --cc=linux-audit@redhat.com \
    --cc=warron.french@gmail.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