[Linux-ha-dev] crm_mon doesn't exit immediately
kskmori at intellilink.co.jp
Mon Aug 11 01:46:17 MDT 2008
If there's no objection I would like to push this patch into
the lha-2.1 repository, but any problem on that?
It seems that the latest pacemaker also presents the same behavior
so I think the both needs to be fixed as well.
"Junko IKEDA" <ikedaj at intellilink.co.jp> writes:
> I found that crm_mon which is included in Pacemaker-dev(2f2343008186) can be
> quitted by Ctrl + C.
> If a back port from Pacemaker to Heartbeat 2.1.4 is better than applying the
> We don't care about how to fix this.
>> Can somebody handle this issue?
>> She said that, she couldn't quit crm_mon command with Ctrl+C.
>> I usually use crm_mon with -i option, so I couldn't notice this behavior,
>> but it sure is that crm_mon running with no option wouldn't be stopped by
>> It's odd, right?
>> I think almost all people would expect that Ctrl + C can stop this
>> See attached her patch.
>> > I noticed that crm_mon doesn't exit immediately
>> > when it receive SIGINT in mainloop.
>> > It seems that SIGINT only kills sleep() function...
>> > (Is this caused by something in G_main_add_SignalHandler()?
>> > Or anything else?)
>> > So, I modified it to exit wait function
>> > when it is interrupted by a signal.
>> > This patch is for Heartbeat STABLE 2.1 (aae8d51d84ec).
>> > I hope it isn't too late for Heartbeat2.1.4...
>> > Regards,
>> > Satomi Taniguchi
> Linux-HA-Dev: Linux-HA-Dev at lists.linux-ha.org
> Home Page: http://linux-ha.org/
NTT DATA Intellilink Corporation
More information about the Linux-HA-Dev