> > >
> > > Is there any specific reason why the hb init script does not do
> this?
> >
> >
> > Because it's not a graceful shutdown.  Things will be left in a bad
> > state.  Any behavior like this is a bug.
> >
> > Could you try 2.2.2 and see if this behavior persists?
> >
> 
> Will do - should have some results shortly.

OK - I've reproduced the hang with 2.1.2 -- it was actually pretty easy - I 
wound the debug level up to three and then just did 'service heartbeat stop' on 
the DC -- logd messages logged are:

  11036:Aug  6 12:43:58 jake logd: [19855]: info: logd started with 
/etc/logd.cf.
  11037:Aug  6 12:43:58 jake logd: [19856]: info: G_main_add_SignalHandler: 
Added signal handler for signal 15
  11038:Aug  6 12:43:58 jake logd: [19855]: info: G_main_add_SignalHandler: 
Added signal handler for signal 15
  11040:Aug  6 12:43:58 jake heartbeat: [19876]: info: logfile and debug file 
are those specified in logd config file (default /etc/logd.cf)
  11062:Aug  6 12:43:59 jake heartbeat: [19876]: debug: Comparing directive 
[crm] against [use_logd]
  11063:Aug  6 12:43:59 jake heartbeat: [19876]: debug: Comparing directive 
[crm] against [conn_logd_time]
  11136:Aug  6 12:44:01 jake heartbeat: [19876]: debug: Comparing directive 
[ucast] against [use_logd]
  11137:Aug  6 12:44:01 jake heartbeat: [19876]: debug: Comparing directive 
[ucast] against [conn_logd_time]
  11180:Aug  6 12:44:02 jake heartbeat: [19876]: debug: Comparing directive 
[ucast] against [use_logd]
  11181:Aug  6 12:44:02 jake heartbeat: [19876]: debug: Comparing directive 
[ucast] against [conn_logd_time]
  11542:Aug  6 12:44:14 jake crmd: [19990]: debug: crm_set_env_options: 
HA_conn_logd_time = 60
  11615:Aug  6 12:44:15 jake cib: [19986]: debug: crm_set_env_options: 
HA_conn_logd_time = 60
  11864:Aug  6 12:44:20 jake attrd: [19989]: debug: crm_set_env_options: 
HA_conn_logd_time = 60
  12815:Aug  6 12:44:43 jake tengine: [20170]: debug: crm_set_env_options: 
HA_conn_logd_time = 60
  12877:Aug  6 12:44:45 jake pengine: [20171]: debug: crm_set_env_options: 
HA_conn_logd_time = 60
  15886:Aug  6 12:45:54 jake logd: [19855]: debug: logd_term_action: received 
SIGTERM
  15888:Aug  6 12:45:54 jake logd: [19855]: debug: logd_term_action: waiting 
for 128 messages to be read for process heartbeat

ha.cf and logd.cf files also attached.

Simon

Attachment: logd.cf
Description: logd.cf

Attachment: ha.cf
Description: ha.cf

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to