Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 441577

Summary: symlinks in cluster-managed mount points cause erroneous failures
Product: [Retired] Red Hat Cluster Suite Reporter: Lon Hohberger <lhh>
Component: rgmanagerAssignee: Lon Hohberger <lhh>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: low Docs Contact:
Priority: low    
Version: 4CC: cluster-maint, edamato
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0791 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-25 19:16:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Test script which reproduces the problem.
none
Fix for behavior
none
Updated test; tests NFS too (make sure you have NFS turned on!)
none
Updated test; works on RHEL4 as well none

Description Lon Hohberger 2008-04-08 20:13:58 UTC
Description of problem:

Incorrect errors or warnings are reported if a mountpoint from cluster.conf has
a symbolic link.  This can cause a service failure or restart.

Version-Release number of selected component (if applicable): up to and
including 4.6

How reproducible: 100%

Steps to Reproduce:
1. Install rgmanager RPM from 4.2 or later
2. Run symlink-test
  
Actual results: Warnings or errors.

Expected results: Success.

Comment 1 Lon Hohberger 2008-04-08 20:13:58 UTC
Created attachment 301702 [details]
Test script which reproduces the problem.

Comment 2 Lon Hohberger 2008-04-08 20:15:54 UTC
Created attachment 301703 [details]
Fix for behavior

Without the patch, the previous test case will show warnings during the test
phase.	With the patch, these warnings go away.

For NFS, the isMounted() function returns an error if the mountpoint is not
what is expected.

Comment 3 RHEL Program Management 2008-04-08 20:38:42 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 4 Lon Hohberger 2008-04-09 19:35:20 UTC
Created attachment 301885 [details]
Updated test; tests NFS too (make sure you have NFS turned on!)

Comment 5 Lon Hohberger 2008-04-09 19:43:02 UTC
Created attachment 301887 [details]
Updated test; works on RHEL4 as well

Comment 10 Lon Hohberger 2008-04-15 15:07:13 UTC
Pushed to RHEL4 git branch

Comment 13 errata-xmlrpc 2008-07-25 19:16:16 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-2008-0791.html