From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio M. Di Nitto Date: Wed, 31 Aug 2011 11:12:41 +0200 Subject: [Cluster-devel] bug in cman/init.d/cman.in? In-Reply-To: <24E144B8C0207547AD09C467A8259F75377CEED1@lisa.maurer-it.com> References: <24E144B8C0207547AD09C467A8259F75377CB457@lisa.maurer-it.com> <4E5B80B1.4020708@redhat.com> <24E144B8C0207547AD09C467A8259F75377CB6C6@lisa.maurer-it.com> <4E5B922B.6080009@redhat.com> <24E144B8C0207547AD09C467A8259F75377CB6FE@lisa.maurer-it.com> <4E5CB185.50008@redhat.com> <24E144B8C0207547AD09C467A8259F75377CEED1@lisa.maurer-it.com> Message-ID: <4E5DFB09.5040201@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On 8/31/2011 11:07 AM, Dietmar Maurer wrote: >> 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). Ok thanks. > > BTW, I can see the same bug in rgmanager init script Nope... not any more ;) Fabio