cmannotifyd: deliver cluster status at startup and fix daemon init
From: "Fabio M. Di Nitto" <email@example.com>
cmannotifyd is very often (if not always) started _after_ cman is
completely settled. That means cmannotifyd does not receive/dispatch
any notifications on the current cluster status at startup.
change cman connection loop to generate a fake notification that
config and membership have changed (we can't poll if they did)
and use those information internally too, to reinit logging with
new cman connection.
Signed-off-by: Fabio M. Di Nitto <firstname.lastname@example.org>
cman/notifyd/main.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)