Red Hat Bugzilla – Bug 171253
magma_gulm returns -11 instead of -1,errno=EAGAIN
Last modified: 2009-04-16 16:18:21 EDT
Created attachment 120178 [details]
Fixes lock brokenness
Description of problem:
This causes rgmanager to break under lock contention and raise "Resource
temporarily unavailable" messages if multiple instances boot at near or exactly
the same time.
Rgmanager calls clu_lock() which is supposed to wait until a successful lock
grant has been issued, or unrecoverable error has occurred. Due to a bug in
magma_gulm.so, it returns immediately - with -11, errno=0. It should return
EAGAIN so the clu_lock() function will correctly retry.
*** Bug 171249 has been marked as a duplicate of this bug. ***
Fixes in CVS
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.