Bug 175267 - dispatcher process has non-blocking stdin
dispatcher process has non-blocking stdin
Product: Fedora
Classification: Fedora
Component: audit (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Steve Grubb
Brian Brock
Depends On:
Blocks: FC5Target
  Show dependency treegraph
Reported: 2005-12-08 07:00 EST by Tim Waugh
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-12-15 10:56:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Tim Waugh 2005-12-08 07:00:42 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):

How reproducible:

Steps to Reproduce:
1. See bug #173283.
Actual results:
Shell script will busy-loop.

Expected results:
No busy-looping, read() call waits until data is available.
Comment 1 Steve Grubb 2005-12-08 18:42:23 EST
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

Note You need to log in before you can comment on or make changes to this bug.