public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* Running auditd from inittab
@ 2007-02-02 13:02 Matthew Booth
  2007-02-02 20:24 ` Steve Grubb
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Booth @ 2007-02-02 13:02 UTC (permalink / raw)
  To: linux-audit


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

I was testing various failures of auditd, and amongst them I tested kill
-SEGV and kill -KILL. I noticed that neither of these generate any audit
event or log activity. It occurs to me that this could be worked around,
and at the same time you could provide some additional level of
reliability, if auditd could be run from inittab. Unfortunately, the
only option to auditd seems to be -f, and this prevents it from logging
in the normal manner.

Are there any other options which might achieve this? If not, is this a
reasonable feature request?

Thanks,

Matt
-- 
Red Hat, Global Professional Services

M:       +44 (0)7977 267231
GPG ID:  D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490

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

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



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

* Re: Running auditd from inittab
  2007-02-02 13:02 Running auditd from inittab Matthew Booth
@ 2007-02-02 20:24 ` Steve Grubb
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Grubb @ 2007-02-02 20:24 UTC (permalink / raw)
  To: linux-audit

On Friday 02 February 2007 08:02, Matthew Booth wrote:
> I was testing various failures of auditd, and amongst them I tested kill
> -SEGV and kill -KILL. I noticed that neither of these generate any audit 
> event or log activity.

KILL is uncatchable and SEGV would mean that the audit daemon is about to die, 
so no writing would be possible.

> It occurs to me that this could be worked around, and at the same time you
> could provide some additional level of reliability, if auditd could be run
> from inittab.

It was never intended to be run from that.

> Unfortunately, the only option to auditd seems to be -f, and this prevents
> it from logging in the normal manner.

-f is for foreground debug.

> Are there any other options which might achieve this?

No.

> If not, is this a reasonable feature request?

I'm not sure. There are the issues of how to get rules loaded and logging 
partition availability.

-Steve

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

end of thread, other threads:[~2007-02-02 20:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-02 13:02 Running auditd from inittab Matthew Booth
2007-02-02 20:24 ` Steve Grubb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox