Comment 20 for bug 290399

Revision history for this message
In , Lon (lon-redhat-bugs) wrote :

Created attachment 304047
Fixes behavior

In certain conditions (which I am not sure of the cause), groupd, fenced, and
dlm_controld all have the potential to enter infinite/tight loops surrounding
poll(2) due to a file descriptor being closed and not correctly handled.

The poll loop for these daemons checks for POLLHUP, but not POLLERR or
POLLNVAL. As such, file descriptors in these states are unhandled.

This patch fixes these daemons.