+++ This bug was initially created as a clone of Bug #232139 +++ Description of problem: If we have the following xml, and we issue the query "/foo/child::*[1]" to ccs: <foo> <bar/> </foo> It does not work - and returns -ENODATA. If we change the XML to have some sort of child - even a text node, i.e.: <foo> <bar>hello, world</bar> </foo> ccs_get /foo/child::*[1] works correctly (returns "bar=hello, world"). This fix is required for #212121 to be completed correctly; with the attached patch, ccs returns "bar=" as the result of querying the first example instead of -ENODATA. The patch also fixes ccs_set_state (which doesn't work at all). -- Additional comment from lhh on 2007-03-13 18:46 EST -- Created an attachment (id=149999) RHEL4 patch
Created attachment 150000 [details] head & rhel5 patch
Devel ACK for 5.1
Fixing Product Name. Cluster Suite was merged into Red Hat Enterpise Linux for 5.0. In addition dlm, fence and ccs were merged into the cman package, so bugzilla should reflect package name where those utilities are located.
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.
Ryan, do you want me to push this to rhel5 / head ?
Testing is simple. Rgmanager on rhel5.1 will show no services at all without this patch ;)
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-2007-0575.html