* Stop/Disable AUDITD on RHEL7
@ 2017-08-03 21:12 warron.french
2017-08-04 19:31 ` Steve Grubb
0 siblings, 1 reply; 5+ messages in thread
From: warron.french @ 2017-08-03 21:12 UTC (permalink / raw)
To: linux-audit
[-- Attachment #1.1: Type: text/plain, Size: 727 bytes --]
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 have:
1. executed a *systemctl disable auditd; systemctl stop auditd* (with
an error about dependencies)
2. executed a *service auditd stop (*and the service stops but doesn't
not remain stopped).
3. Rebooting the machine after the *systemctl disable auditd *also
didn't have any effect.
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
[-- Attachment #1.2: Type: text/html, Size: 1108 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Stop/Disable AUDITD on RHEL7
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
0 siblings, 1 reply; 5+ messages in thread
From: Steve Grubb @ 2017-08-04 19:31 UTC (permalink / raw)
To: linux-audit
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Stop/Disable AUDITD on RHEL7
2017-08-04 19:31 ` Steve Grubb
@ 2017-08-04 20:06 ` warron.french
2017-08-04 20:30 ` Steve Grubb
0 siblings, 1 reply; 5+ messages in thread
From: warron.french @ 2017-08-04 20:06 UTC (permalink / raw)
To: Steve Grubb; +Cc: linux-audit
[-- Attachment #1.1: Type: text/plain, Size: 1765 bytes --]
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 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?
--------------------------
Warron French
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
>
>
>
[-- Attachment #1.2: Type: text/html, Size: 2769 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Stop/Disable AUDITD on RHEL7
2017-08-04 20:06 ` warron.french
@ 2017-08-04 20:30 ` Steve Grubb
2017-08-04 20:48 ` warron.french
0 siblings, 1 reply; 5+ messages in thread
From: Steve Grubb @ 2017-08-04 20:30 UTC (permalink / raw)
To: warron.french; +Cc: linux-audit
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Stop/Disable AUDITD on RHEL7
2017-08-04 20:30 ` Steve Grubb
@ 2017-08-04 20:48 ` warron.french
0 siblings, 0 replies; 5+ messages in thread
From: warron.french @ 2017-08-04 20:48 UTC (permalink / raw)
To: Steve Grubb; +Cc: linux-audit
[-- Attachment #1.1: Type: text/plain, Size: 3027 bytes --]
We JUST figured it out! Stupid thing too!
Someone wrote a script called check_services.sh; and there it was listed in
this script to startup if not already running.
The cron to run *check_services.sh* was set to execute on every minute; so
why it didn't start every minute I don't know.
Problem solved, sorry for the disturbance.
--------------------------
Warron French
On Fri, Aug 4, 2017 at 4:30 PM, Steve Grubb <sgrubb@redhat.com> wrote:
> 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
>
>
>
[-- Attachment #1.2: Type: text/html, Size: 4427 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-08-04 20:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2017-08-04 20:48 ` warron.french
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox