Red Hat Bugzilla – Bug 175267
dispatcher process has non-blocking stdin
Last modified: 2007-11-30 17:11:18 EST
Description of problem:
The dispatcher process is spawned with a stdin file descriptor that is
non-blocking. It would probably be better if it were blocking.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. See bug #173283.
Shell script will busy-loop.
No busy-looping, read() call waits until data is available.
This is by design since dispatching events is secondary to logging to disk. The
audit daemon is in a race with the OS to dequeue events before the backlog
overflows. Because of this, the dispatcher comm is done with non-blocking