Linux-audit Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: "warron.french" <warron.french@gmail.com>
Cc: linux-audit@redhat.com
Subject: Re: Stop/Disable AUDITD on RHEL7
Date: Fri, 04 Aug 2017 16:30:55 -0400	[thread overview]
Message-ID: <18778603.akFS0Dv9Yx@x2> (raw)
In-Reply-To: <CAJdJdQk8uYbQs8u6xTkvBZBHUd-knnQq=SK-HoAtM5jZKixYNw@mail.gmail.com>

On Friday, August 4, 2017 4:06:56 PM EDT warron.french wrote:
> Hello Steve, I am not running Puppet on this system.  Specifically because
> it is to be built as my newer RH Satellite 6.2.10 server.
> 
> The *flush* variable has been set to
> *data.*

I'd recommend INCREMENTAL_ASYNC if the audit package > 2.5. If not, change to  
INCREMENTAL and things should be a lot smoother. If you have 
INCREMENTAL_ASYNC, set freq to 100. If not then set it to 250 or 500.


> I am using an image built by a coworker, but as I said we are not running
> Puppet on this particular host - guaranteed.  What other sort of systems
> management tools can I check for?

There's a lot. Maybe Satellite is doing it? I've never used Satellite so this 
is wild speculation. You can set a rule to audit access to /usr/lib/systemd/
system/auditd.service and perhaps you might find out who's doing it.

Also, how do you know that auditd is restarted? Are you judging by syslog or 
audit logs?

-Steve

> On Fri, Aug 4, 2017 at 3:31 PM, Steve Grubb <sgrubb@redhat.com> wrote:
> > On Thursday, August 3, 2017 5:12:39 PM EDT warron.french wrote:
> > > I am running RHEL 7 Server so that I can also run Red Hat Satellite.
> > > 
> > > I seem to be having resource contention problems and auditd is a part of
> > > the problem consuming up to 22.0% according to results of the *top*
> > 
> > command.
> > 
> > I'd be curious what the flush technique is in auditd.conf.
> > 
> > > I have:
> > >    1. executed a *systemctl disable auditd; systemctl stop auditd* 
> > >    (with
> > >    an error about dependencies)
> > 
> > "service auditd stop" is the correct way to stop auditd.
> > 
> > >    2. executed a *service auditd stop (*and the service stops but
> > >    doesn't
> > >    not remain stopped).
> > 
> > Do you have some systems management software that is sneaking in behind
> > you
> > and modifying settings and starting it?
> > 
> > >    3. Rebooting the machine after the *systemctl disable auditd *also
> > >    didn't have any effect.
> > 
> > It should. I don't know how else it could get re-enabled without some
> > systems
> > management software also configuring it when you're not looking.
> > 
> > -Steve
> > 
> > > I did set -e 1 in the audit.rules file so that I could stop the auditd
> > > on
> > > my demand, but the service restarts anyway.
> > > 
> > > 
> > > Thanks for your help in advance.
> > > --------------------------
> > > Warron French

  reply	other threads:[~2017-08-04 20:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-03 21:12 Stop/Disable AUDITD on RHEL7 warron.french
2017-08-04 19:31 ` Steve Grubb
2017-08-04 20:06   ` warron.french
2017-08-04 20:30     ` Steve Grubb [this message]
2017-08-04 20:48       ` warron.french

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=18778603.akFS0Dv9Yx@x2 \
    --to=sgrubb@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