All of lore.kernel.org
 help / color / mirror / Atom feed
* audit.rules setting
@ 2016-03-22 12:55 Warron S French
  2016-03-22 14:06 ` Steve Grubb
  0 siblings, 1 reply; 4+ messages in thread
From: Warron S French @ 2016-03-22 12:55 UTC (permalink / raw)
  To: linux-audit


[-- Attachment #1.1: Type: text/plain, Size: 214 bytes --]

Does the "-e 2" have to be the last line of the audit.rules file?
Does it have to be listed prior to all of the syscalls and watches configured in the file?


Thank you in advance,

Warron French, MBA, SCSA

[-- Attachment #1.2: Type: text/html, Size: 2290 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: audit.rules setting
  2016-03-22 12:55 audit.rules setting Warron S French
@ 2016-03-22 14:06 ` Steve Grubb
  2016-03-22 14:26   ` EXT :Re: " Boyce, Kevin P (AS)
  0 siblings, 1 reply; 4+ messages in thread
From: Steve Grubb @ 2016-03-22 14:06 UTC (permalink / raw)
  To: linux-audit

On Tuesday, March 22, 2016 12:55:25 PM Warron S French wrote:
> Does the "-e 2" have to be the last line of the audit.rules file?

Yes. Once its sent to the kernel, the kernel rules tables are immutable.


> Does it have to be listed prior to all of the syscalls and watches
> configured in the file?

No. This will make it not load anything.

-Steve

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: EXT :Re: audit.rules setting
  2016-03-22 14:06 ` Steve Grubb
@ 2016-03-22 14:26   ` Boyce, Kevin P (AS)
  2016-03-22 14:40     ` Steve Grubb
  0 siblings, 1 reply; 4+ messages in thread
From: Boyce, Kevin P (AS) @ 2016-03-22 14:26 UTC (permalink / raw)
  To: Steve Grubb, linux-audit

With regard to this subject I don't know if it is possible, but it bothers me when shutting down a system that you get errors (when -e 2 is enabled) when auditd is stopping.
That might be unavoidable though.

Kevin Boyce


-----Original Message-----
From: linux-audit-bounces@redhat.com [mailto:linux-audit-bounces@redhat.com] On Behalf Of Steve Grubb
Sent: Tuesday, March 22, 2016 10:06 AM
To: linux-audit@redhat.com
Subject: EXT :Re: audit.rules setting

On Tuesday, March 22, 2016 12:55:25 PM Warron S French wrote:
> Does the "-e 2" have to be the last line of the audit.rules file?

Yes. Once its sent to the kernel, the kernel rules tables are immutable.


> Does it have to be listed prior to all of the syscalls and watches 
> configured in the file?

No. This will make it not load anything.

-Steve

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: EXT :Re: audit.rules setting
  2016-03-22 14:26   ` EXT :Re: " Boyce, Kevin P (AS)
@ 2016-03-22 14:40     ` Steve Grubb
  0 siblings, 0 replies; 4+ messages in thread
From: Steve Grubb @ 2016-03-22 14:40 UTC (permalink / raw)
  To: Boyce, Kevin P (AS); +Cc: linux-audit

On Tuesday, March 22, 2016 02:26:33 PM Boyce, Kevin P wrote:
> With regard to this subject I don't know if it is possible, but it bothers
> me when shutting down a system that you get errors (when -e 2 is enabled)
> when auditd is stopping. That might be unavoidable though.

If this is a sysVinit system, then there are variables in /etc/sysconfig/auditd 
such as AUDITD_CLEAN_STOP that determine what the init script does.

If you have a systemd based init system, then by default it does not modify 
rules like the sysVinit one does. It does have a ExecStopPost= variable that 
can be modified if you wanted to clear rules on shutdown.

-Steve

> -----Original Message-----
> From: linux-audit-bounces@redhat.com [mailto:linux-audit-bounces@redhat.com]
> On Behalf Of Steve Grubb Sent: Tuesday, March 22, 2016 10:06 AM
> To: linux-audit@redhat.com
> Subject: EXT :Re: audit.rules setting
> 
> On Tuesday, March 22, 2016 12:55:25 PM Warron S French wrote:
> > Does the "-e 2" have to be the last line of the audit.rules file?
> 
> Yes. Once its sent to the kernel, the kernel rules tables are immutable.
> 
> > Does it have to be listed prior to all of the syscalls and watches
> > configured in the file?
> 
> No. This will make it not load anything.
> 
> -Steve
> 
> --
> Linux-audit mailing list
> Linux-audit@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-audit

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-22 14:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-22 12:55 audit.rules setting Warron S French
2016-03-22 14:06 ` Steve Grubb
2016-03-22 14:26   ` EXT :Re: " Boyce, Kevin P (AS)
2016-03-22 14:40     ` Steve Grubb

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.