Skip to contentSkip to conversation

Running auditd from inittab

DISCUSSION Matthew Booth 2 participants 2 messages Feb 2, 2007

lore
Share & tools
lore
#0 lore raw

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

Signature · 5 lines
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
#1 lore raw
Quoted 3 lines · Matthew Booth

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.

Quoted 3 lines

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.

Quoted 2 lines

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.

Quoted 1 line

Are there any other options which might achieve this?

No.

Quoted 1 line

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