Bug #248454 outlined how brittle the inter-process communication (IPC) is between the provision and hosting module. In that bug, an SQL error is being thrown to stdout which garbles the (normally) serialized output of the provision module.

We need to avoid doing that to facilitate debugging and propagate errors properly from the provision module all the way up to the user.

Note that this happens only if there is another bug present in the provisionning module.

Comments

adrian’s picture

Perhaps we should use :
http://www.php.net/manual/en/function.proc-open.php

Pipes might be a better mechanism than the serialization thing.

adrian’s picture

Status: Active » Fixed

switched to proc open, and use stronger protection on serialized output.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.