Bug 784177 - exec_init_fn return codes are ignored
Summary: exec_init_fn return codes are ignored
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Corosync Cluster Engine
Classification: Retired
Component: unknown
Version: 1.4
Hardware: All
OS: All
urgent
urgent
Target Milestone: ---
Assignee: Steven Dake
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-24 05:57 UTC by Fabio Massimo Di Nitto
Modified: 2016-04-26 13:54 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-30 21:09:40 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.