Bug 219765 - cl_status commands fail
Summary: cl_status commands fail
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: heartbeat
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joost Soeterbroek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: FE7Target
TreeView+ depends on / blocked
 
Reported: 2006-12-15 09:37 UTC by Jeremy Faith
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-01-21 20:06:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jeremy Faith 2006-12-15 09:37:09 UTC
Description of problem:
cl_status commands fail as it is NOT installed set groupid


Version-Release number of selected component (if applicable):
heartbeat-2.0.7-3.fc6.i386.rpm


How reproducible:
cl_status listnodes


Steps to Reproduce:
1.install heartbeat rpm
2.configure heartbeat
3.run heartbeat service
4.cl_status listnodes
  
Actual results:
cl_status[6162]: 2006/12/15_08:23:13 ERROR: Cannot start node walk.
cl_status[6162]: 2006/12/15_08:23:13 ERROR: REASON: can't send message to IPC
Channel: Resource temporarily unavailable
cl_status[6162]: 2006/12/15_08:23:13 ERROR: Cannot sign off from heartbeat.
cl_status[6162]: 2006/12/15_08:23:13 ERROR: REASON: can't send message to IPC
Channel: Resource temporarily unavailable
can't send message to IPC: Resource temporarily unavailable


Expected results:
given 2 nodes named cdc0_sec and cdc0_pri the output of cl_status listnodes
should be:-
cdc0_sec
cdc0_pri


Additional info:
cl_status is installed with owner hacluster and group haclient this appears to
be correct. But it needs to be set group id otherwise the above error occurs.
All that is necessary to get cl_status to work is:-
  chmod 2755 /usr/bin/cl_status

I am not sure if any other commands in the heartbeat rpm require to be setgid or
setuid. But heartbeat seems to run ok.

Comment 1 Herbert Straub 2007-01-21 16:47:25 UTC
I confirm this sitiuation. After setting 

  chmod 2755 /usr/bin/cl_status

the command works. Version: heartbeat-2.0.7-3.fc6

Comment 2 Joost Soeterbroek 2007-01-21 20:06:52 UTC
Fixed in 2.0.8-1


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