188a980 cmannotifyd: deliver cluster status at startup and fix daemon init

Authored and Committed by fabbione 12 years ago
    cmannotifyd: deliver cluster status at startup and fix daemon init
    
    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.
    
    Resolves: rhbz#820357
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    Reviewed-by: Lon Hohberger <lhh@redhat.com>
    
        
file modified
+14 -0