Bug 784177

Summary: exec_init_fn return codes are ignored
Product: [Retired] Corosync Cluster Engine Reporter: Fabio Massimo Di Nitto <fdinitto>
Component: unknownAssignee: Steven Dake <sdake>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 1.4CC: asalkeld, jfriesse, sdake
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-30 21:09:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Fabio Massimo Di Nitto 2012-01-24 05:57:20 UTC
this is master branch

when init/linking services into corosync, a return != 0 from exec_init_fn is ignored.

This is problematic because a service can actually fail to initialize but there is no way to stop corosync from proceeding with operations. This could lead to the user assuming everything is up and running as expected when in reality it's not.

since exec_init_fn are invoked only at startup time, it is more reasonable to make corosync exit error if the service fails to initialize.