Reviewed Ken's rc_pmcd patch and added this one for container
support. No functional change in a non container environment.
Changes committed to git://pcp.io/markgw/pcp/pcp.git master
commit 1a0f670c0f1d3cdc3248b106dc13a06e83d0c7c9
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Wed Oct 7 14:27:41 2015 +1000
do not background _pmda_setup in a container environment.
In a container environment, the rc script blocks in pmpause
(as pid 1) until it is killed or all children are reaped.
If there are no children, it blocks until killed. However,
if the children fork and then exit (e.g. pmcd daemon), then
pmpause exits, killing the container with it. So we can't
background rc tasks in a container environment.
|