pmdaroot: allow process creation without setting up fds
commit91521846ab45c44cc273848caed9ebfb5ed4f42b
authorNathan Scott <nathans@redhat.com>
Fri, 29 Jan 2016 05:26:21 +0000 (29 16:26 +1100)
committerNathan Scott <nathans@redhat.com>
Fri, 29 Jan 2016 05:26:21 +0000 (29 16:26 +1100)
tree27bf9ad9f5a4bb5d47f764b2b66dc2c536c9dbba
parentb6772605a3dbef6032388ca86e87ce607867f106
pmdaroot: allow process creation without setting up fds

In the case of communication between pmcd and PMDAs, we defer
the setup of file descriptors until well after child process
creation (unlike in the case of pipes).  So, we need to allow
for this situation explicitly in the pmdaroot pmda-statup code
(i.e. its not an error to not send open file descriptors along
with a PID back to pmcd).

Problem uncovered by qa/110, additional diagnostics added into
pmdaroot that helped with figuring this out.
src/libpcp_pmda/src/pduroot.c
src/pmdas/root/agent.c
src/pmdas/root/root.c