[Cluster-devel] bug in cman/init.d/cman.in?

Dietmar Maurer dietmar at proxmox.com
Wed Aug 31 09:07:42 UTC 2011


> Fix is pushed in git, can you please let me know if it works for you?

Thanks, seems to work.

> A reproducer
> to trigger the error would be nice to have, so I can verify it here too.

# /etc/init.d/cman start
Starting cluster: 
   Checking if cluster has been disabled at boot... [  OK  ]
   Checking Network Manager... [  OK  ]
...

# /etc/init.d/cman stop;echo $?
Stopping cluster: 
   Leaving fence domain... [  OK  ]
   Stopping dlm_controld... [  OK  ]
   Stopping fenced... [  OK  ]
   Stopping cman... [  OK  ]
   Waiting for corosync to shutdown:[  OK  ]
   Unloading kernel modules... [  OK  ]
   Unmounting configfs... [  OK  ]
1

So the stop fails (return 1 instead of 0).

BTW, I can see the same bug in rgmanager init script

- Dietmar





More information about the Cluster-devel mailing list