HomeClusterLabs Projects

Fix: libservices: Add error handling for pipe() failed.

Description

Fix: libservices: Add error handling for pipe() failed.
libservices have no error handling for pipe() failed.
If pipe() succeed for standard output and pipe() failed for error output, then command in the resource agent receive SIGPIPE when output to standard output.
It seems that resource operation have to fail explicitly when pipe() failed occurred because it raise weird error in the resource agent.

Event Timeline