Fix: stop lttng-relayd threads on health thread error
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 20 Oct 2016 19:45:42 +0000 (15:45 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 26 Oct 2016 12:31:11 +0000 (08:31 -0400)
commit8a66b7eefa70f107a07b16c546b15b9e71f36b36
tree39d700ed072eb3ea381fc18281d8e40d981b0b00
parenta8bc4cdc16fedd36cac5e6dd1ac6053a6938f972
Fix: stop lttng-relayd threads on health thread error

The lttng-relayd health thread may fail to initialize for
a variety of reason (notably, a too long unix domain socket
address), which will cause it to never notify that it is
ready.

In such circumstances, the lttng-relayd command, in background or
daemonize mode, will never return as the daemon's "readyness"
will never be signaled.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/health-relayd.c
This page took 0.024575 seconds and 4 git commands to generate.