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.
Description
Description
Details
Details
- Provenance
NAKAHIRA Kazutomo <nakahira@intellilink.co.jp> Authored on Feb 18 2016, 1:26 AM - Parents
- rP5976fded9494: Fix: libservices: Check resource agent is executable or not before pipe open.
- Branches
- Unknown
- Tags