Bug 178080 - RFE: sm plugin workaround for bug #177934
Summary: RFE: sm plugin workaround for bug #177934
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Cluster Suite
Classification: Retired
Component: magma-plugins
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Lon Hohberger
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-01-17 18:53 UTC by Lon Hohberger
Modified: 2009-04-16 20:19 UTC (History)
2 users (show)

Fixed In Version: RHBA-2006-0240
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-03-09 19:48:29 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2006:0240 0 normal SHIPPED_LIVE magma-plugins bug fix update 2006-03-09 05:00:00 UTC

Description Lon Hohberger 2006-01-17 18:53:27 UTC
+++ This bug was initially created as a clone of Bug #177934 +++

Description of problem:

If you call dlm_release_lockspace() in libdlm from userland from an application
A, application B's reference to the open lockspace will become invalid if
application B has no locks granted at the time of the release.

e.g.

Program A        Program B
Create LS 'Foo'
                 Open LS 'Foo'
Acquire lock
Release lock
Release LS
                 Acquire lock   <-- returns -1 / ENOENT
------------------------------------------------------------

The idea here is to provide a workaround in the plugin itself.  The simplest
solution is to take a null lock in the lockspace so that release_lockspace
doesn't have anything to check.

Comment 1 Lon Hohberger 2006-01-24 19:18:57 UTC
Fixes in CVS - RHEL4/head/STABLE

Comment 4 Red Hat Bugzilla 2006-03-09 19:48:29 UTC
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.

http://rhn.redhat.com/errata/RHBA-2006-0240.html



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