public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* init and its direct children not audited?
@ 2007-08-15 14:51 Matthew Booth
  2007-08-15 21:18 ` Steve Grubb
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Booth @ 2007-08-15 14:51 UTC (permalink / raw)
  To: linux-audit


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

I have the following in my test audit configuration on RHEL4 U5:

-a entry,always -S exit -S exit_group -S execve -S fork -S vfork -S
clone

My first observation is that I've never seen an audit record with pid=1.
It's fairly easy to reproduce this one. Log in at the console, then log
out. You'll see a process execve() a new mingetty, but you won't see the
fork, vfork or clone which created it.

My second observation is a bit more complex. I have a box running Oracle
RAC. RAC runs some particularly nasty scripts on a regular basis (once
per second). In outline, it does this:

In inittab:
respawn:init.cssd

In init.cssd:
while true; do
    init.cssd runcheck
done

I see that a process execs 'init.cssd runcheck' once per second.
However, I do not see a process fork, vfork or clone that process. This
suggests that audit data isn't being produced for the top level
init.cssd job.

Does this ring any bells? Is there some other method of process creation
I'm not aware of? Is init intentionally not audited, and if so, how do I
audit it?

Thanks,

Matt
-- 
Matthew Booth, RHCA, RHCSS
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: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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



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

end of thread, other threads:[~2007-08-15 21:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-15 14:51 init and its direct children not audited? Matthew Booth
2007-08-15 21:18 ` Steve Grubb

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