Bug 151081 - redhat-config-cluster clobbers /etc/cluster.xml symlink
redhat-config-cluster clobbers /etc/cluster.xml symlink
Status: CLOSED ERRATA
Product: Red Hat Cluster Suite
Classification: Red Hat
Component: redhat-config-cluster (Show other bugs)
3
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jim Parsons
Cluster QE
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-14 13:13 EST by Andrew C. Dingman
Modified: 2009-04-16 16:07 EDT (History)
2 users (show)

See Also:
Fixed In Version: RHBA-2005-765
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-09-30 10:54:36 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Andrew C. Dingman 2005-03-14 13:13:20 EST
Description of problem: redhat-config-cluster does not follow symlinks when
modifying cluster.xml.


Version-Release number of selected component (if applicable): 1.0.3-1


How reproducible: Move cluster.xml to another location, and symlink to
/etc/cluster.xml. Modify with redhat-config-cluster. The symlink will be
replaced with a new, regular file, and the target will be unmodified.


Steps to Reproduce:
1. cp /etc/cluster.xml /shared/filesystem/
2. ln -sf /shared/filesystem/cluster.xml /etc/
3. redhat-config-cluster # alter config slightly
4. ls -l /etc/cluster.xml
   -rw-------    1 root     root         1761 Mar 14 11:33 /etc/cluster.xml

  
Actual results:
Symlink to desired location of cluster.xml is replaced by a regular file
containing the new configuration.

Expected results:
Target of symlink is replaced by regular file containing the new configuration.

Additional info:
Since all my cluster members are also part of a GFS cluster, it would be
convenient to place a shared cluster.xml on a shared file system, and let
/etc/cluster.xml be a symlink. I am doing this with several other configuration
files successfully, but this unfortunate behavior of redhat-config-cluster
defeats my strategy. Please fix in a future version.
Comment 1 Jim Parsons 2005-09-02 15:50:56 EDT
Fixed in U6 candidate build 1.0.8-1.0
Comment 2 Red Hat Bugzilla 2005-09-30 10:54:37 EDT
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-2005-765.html

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